PluginProbe
Elementor Website Builder – more than just a page builder / 3.32.3
Elementor Website Builder – more than just a page builder v3.32.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/container.php +10 -12 4.1.0-dev23.32.3 View file →
@@ -166,8 +166,9 @@
166 166 view.addRenderAttribute(
167 167 'background-video-container',
168 168 {
169 169 'class': 'elementor-background-video-container',
170 + 'aria-hidden': 'true',
170 171 }
171 172 );
172 173
173 174 if ( ! settings.background_play_on_mobile ) {
@@ -174,10 +175,10 @@
174 175 view.addRenderAttribute( 'background-video-container', 'class', 'elementor-hidden-mobile' );
175 176 }
176 177 #>
177 178 <div {{{ view.getRenderAttributeString( 'background-video-container' ) }}}>
178 - <div class="elementor-background-video-embed" role="presentation"></div>
179 - <video class="elementor-background-video-hosted" role="presentation" {{ videoAttributes }}></video>
179 + <div class="elementor-background-video-embed"></div>
180 + <video class="elementor-background-video-hosted" {{ videoAttributes }}></video>
180 181 </div>
181 182 <# } #>
182 183 <div class="elementor-shape elementor-shape-top" aria-hidden="true"></div>
183 184 <div class="elementor-shape elementor-shape-bottom" aria-hidden="true"></div>
@@ -208,8 +209,9 @@
208 209 $this->add_render_attribute(
209 210 'background-video-container',
210 211 [
211 212 'class' => 'elementor-background-video-container',
213 + 'aria-hidden' => 'true',
212 214 ]
213 215 );
214 216
215 217 if ( ! $settings['background_play_on_mobile'] ) {
@@ -217,9 +219,9 @@
217 219 }
218 220
219 221 ?><div <?php $this->print_render_attribute_string( 'background-video-container' ); ?>>
220 222 <?php if ( $video_properties ) : ?>
221 - <div class="elementor-background-video-embed" role="presentation"></div>
223 + <div class="elementor-background-video-embed"></div>
222 224 <?php
223 225 else :
224 226 $video_tag_attributes = 'autoplay muted playsinline';
225 227
@@ -226,9 +228,9 @@
226 228 if ( 'yes' !== $settings['background_play_once'] ) {
227 229 $video_tag_attributes .= ' loop';
228 230 }
229 231 ?>
230 - <video class="elementor-background-video-hosted" role="presentation" <?php echo esc_attr( $video_tag_attributes ); ?>></video>
232 + <video class="elementor-background-video-hosted" <?php echo esc_attr( $video_tag_attributes ); ?>></video>
231 233 <?php endif; ?>
232 234 </div><?php
233 235 }
234 236
@@ -339,12 +341,8 @@
339 341 if ( in_array( $element_data['elType'], $el_types, true ) ) {
340 342 return Plugin::$instance->elements_manager->get_element_types( $element_data['elType'] );
341 343 }
342 344
343 - if ( ! isset( $element_data['widgetType'] ) ) {
344 - return null;
345 - }
346 -
347 345 return Plugin::$instance->widgets_manager->get_widget_types( $element_data['widgetType'] );
348 346 }
349 347
350 348 /**
@@ -1412,9 +1410,9 @@
1412 1410 [
1413 1411 'label' => esc_html__( 'Column Span', 'elementor' ),
1414 1412 'type' => Controls_Manager::SELECT,
1415 1413 'options' => [
1416 - '' => ' ' . esc_html__( 'Default', 'elementor' ),
1414 + '' => ' Default',
1417 1415 '1' => '1',
1418 1416 '2' => '2',
1419 1417 '3' => '3',
1420 1418 '4' => '4',
@@ -1425,9 +1423,9 @@
1425 1423 '9' => '9',
1426 1424 '10' => '10',
1427 1425 '11' => '11',
1428 1426 '12' => '12',
1429 - 'custom' => esc_html__( 'Custom', 'elementor' ),
1427 + 'custom' => 'Custom',
1430 1428 ],
1431 1429 'selectors' => [
1432 1430 '{{WRAPPER}}' => 'grid-column: span {{VALUE}};',
1433 1431 ],
@@ -1456,9 +1454,9 @@
1456 1454 [
1457 1455 'label' => esc_html__( 'Row Span', 'elementor' ),
1458 1456 'type' => Controls_Manager::SELECT,
1459 1457 'options' => [
1460 - '' => ' ' . esc_html__( 'Default', 'elementor' ),
1458 + '' => ' Default',
1461 1459 '1' => '1',
1462 1460 '2' => '2',
1463 1461 '3' => '3',
1464 1462 '4' => '4',
@@ -1469,9 +1467,9 @@
1469 1467 '9' => '9',
1470 1468 '10' => '10',
1471 1469 '11' => '11',
1472 1470 '12' => '12',
1473 - 'custom' => esc_html__( 'Custom', 'elementor' ),
1471 + 'custom' => 'Custom',
1474 1472 ],
1475 1473 'selectors' => [
1476 1474 '{{WRAPPER}}' => 'grid-row: span {{VALUE}};',
1477 1475 ],