PluginProbe
Elementor Website Builder – more than just a page builder / 3.34.3
Elementor Website Builder – more than just a page builder v3.34.3
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 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
← All changes | includes/elements/section.php +4 -6 3.34.23.34.3 View file →
@@ -1442,9 +1442,8 @@
1442 1442 view.addRenderAttribute(
1443 1443 'background-video-container',
1444 1444 {
1445 1445 'class': 'elementor-background-video-container',
1446 - 'aria-hidden': 'true',
1447 1446 }
1448 1447 );
1449 1448
1450 1449 if ( ! settings.background_play_on_mobile ) {
@@ -1451,10 +1450,10 @@
1451 1450 view.addRenderAttribute( 'background-video-container', 'class', 'elementor-hidden-mobile' );
1452 1451 }
1453 1452 #>
1454 1453 <div {{{ view.getRenderAttributeString( 'background-video-container' ) }}}>
1455 - <div class="elementor-background-video-embed"></div>
1456 - <video class="elementor-background-video-hosted" {{ videoAttributes }}></video>
1454 + <div class="elementor-background-video-embed" role="presentation"></div>
1455 + <video class="elementor-background-video-hosted" role="presentation" {{ videoAttributes }}></video>
1457 1456 </div>
1458 1457 <# } #>
1459 1458 <div class="elementor-background-overlay"></div>
1460 1459 <div class="elementor-shape elementor-shape-top" aria-hidden="true"></div>
@@ -1486,9 +1485,8 @@
1486 1485 $this->add_render_attribute(
1487 1486 'background-video-container',
1488 1487 [
1489 1488 'class' => 'elementor-background-video-container',
1490 - 'aria-hidden' => 'true',
1491 1489 ]
1492 1490 );
1493 1491
1494 1492 if ( ! $settings['background_play_on_mobile'] ) {
@@ -1496,9 +1494,9 @@
1496 1494 }
1497 1495 ?>
1498 1496 <div <?php $this->print_render_attribute_string( 'background-video-container' ); ?>>
1499 1497 <?php if ( $video_properties ) : ?>
1500 - <div class="elementor-background-video-embed"></div>
1498 + <div class="elementor-background-video-embed" role="presentation"></div>
1501 1499 <?php
1502 1500 else :
1503 1501 $video_tag_attributes = 'autoplay muted playsinline';
1504 1502 if ( 'yes' !== $settings['background_play_once'] ) :
@@ -1504,9 +1502,9 @@
1504 1502 if ( 'yes' !== $settings['background_play_once'] ) :
1505 1503 $video_tag_attributes .= ' loop';
1506 1504 endif;
1507 1505 ?>
1508 - <video class="elementor-background-video-hosted" <?php
1506 + <video class="elementor-background-video-hosted" role="presentation" <?php
1509 1507 // PHPCS - the variable $video_tag_attributes is a plain string.
1510 1508 echo $video_tag_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1511 1509 ?>></video>
1512 1510 <?php endif; ?>