| @@ -444,8 +444,9 @@ | ||
| 444 | 444 | 'data-tab' => $tab_count, |
| 445 | 445 | 'role' => 'tab', |
| 446 | 446 | 'tabindex' => 1 === $tab_count ? '0' : '-1', |
| 447 | 447 | 'aria-controls' => 'elementor-tab-content-' . $id_int . $tab_count, |
| 448 | + 'aria-expanded' => 'false', | |
| 448 | 449 | ] ); |
| 449 | 450 | ?> |
| 450 | 451 | <div <?php echo $this->get_render_attribute_string( $tab_title_setting_key ); ?>><?php echo $tab_title; ?></div> |
| 451 | 452 | <?php endforeach; ?> |
| @@ -475,8 +476,9 @@ | ||
| 475 | 476 | 'data-tab' => $tab_count, |
| 476 | 477 | 'role' => 'tab', |
| 477 | 478 | 'tabindex' => 1 === $tab_count ? '0' : '-1', |
| 478 | 479 | 'aria-controls' => 'elementor-tab-content-' . $id_int . $tab_count, |
| 480 | + 'aria-expanded' => 'false', | |
| 479 | 481 | ] ); |
| 480 | 482 | |
| 481 | 483 | $this->add_inline_editing_attributes( $tab_content_setting_key, 'advanced' ); |
| 482 | 484 | ?> |
| @@ -513,8 +515,9 @@ | ||
| 513 | 515 | 'data-tab': tabCount, |
| 514 | 516 | 'role': 'tab', |
| 515 | 517 | 'tabindex': 1 === tabCount ? '0' : '-1', |
| 516 | 518 | 'aria-controls': 'elementor-tab-content-' + tabUid, |
| 519 | + 'aria-expanded': 'false', | |
| 517 | 520 | } ); |
| 518 | 521 | #> |
| 519 | 522 | <div {{{ view.getRenderAttributeString( tabTitleKey ) }}}>{{{ item.tab_title }}}</div> |
| 520 | 523 | <# } ); #> |