PluginProbe
Elementor Website Builder – more than just a page builder / 3.35.0-dev2
Elementor Website Builder – more than just a page builder v3.35.0-dev2
4.3.2 4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 All 455 releases
← All changes | includes/elements/container.php +4 -6 3.35.0-dev1 → 3.35.0-dev2 View file →
@@ -166,9 +166,8 @@
166 166 view.addRenderAttribute(
167 167 'background-video-container',
168 168 {
169 169 'class': 'elementor-background-video-container',
170 - 'aria-hidden': 'true',
171 170 }
172 171 );
173 172
174 173 if ( ! settings.background_play_on_mobile ) {
@@ -175,10 +174,10 @@
175 174 view.addRenderAttribute( 'background-video-container', 'class', 'elementor-hidden-mobile' );
176 175 }
177 176 #>
178 177 <div {{{ view.getRenderAttributeString( 'background-video-container' ) }}}>
179 - <div class="elementor-background-video-embed"></div>
180 - <video class="elementor-background-video-hosted" {{ videoAttributes }}></video>
178 + <div class="elementor-background-video-embed" role="presentation"></div>
179 + <video class="elementor-background-video-hosted" role="presentation" {{ videoAttributes }}></video>
181 180 </div>
182 181 <# } #>
183 182 <div class="elementor-shape elementor-shape-top" aria-hidden="true"></div>
184 183 <div class="elementor-shape elementor-shape-bottom" aria-hidden="true"></div>
@@ -209,9 +208,8 @@
209 208 $this->add_render_attribute(
210 209 'background-video-container',
211 210 [
212 211 'class' => 'elementor-background-video-container',
213 - 'aria-hidden' => 'true',
214 212 ]
215 213 );
216 214
217 215 if ( ! $settings['background_play_on_mobile'] ) {
@@ -219,9 +217,9 @@
219 217 }
220 218
221 219 ?><div <?php $this->print_render_attribute_string( 'background-video-container' ); ?>>
222 220 <?php if ( $video_properties ) : ?>
223 - <div class="elementor-background-video-embed"></div>
221 + <div class="elementor-background-video-embed" role="presentation"></div>
224 222 <?php
225 223 else :
226 224 $video_tag_attributes = 'autoplay muted playsinline';
227 225
@@ -228,9 +226,9 @@
228 226 if ( 'yes' !== $settings['background_play_once'] ) {
229 227 $video_tag_attributes .= ' loop';
230 228 }
231 229 ?>
232 - <video class="elementor-background-video-hosted" <?php echo esc_attr( $video_tag_attributes ); ?>></video>
230 + <video class="elementor-background-video-hosted" role="presentation" <?php echo esc_attr( $video_tag_attributes ); ?>></video>
233 231 <?php endif; ?>
234 232 </div><?php
235 233 }
236 234