mirror of
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue.git
synced 2024-12-11 16:16:31 +00:00
fix: set tabindex -1 on hidden tabs
This commit is contained in:
parent
ac27855dec
commit
7e921a4a3a
|
@ -164,7 +164,8 @@ class TabberAction {
|
|||
tabpanelVisibilityUpdates.push( {
|
||||
element: tabpanel,
|
||||
attributes: {
|
||||
'aria-hidden': 'false'
|
||||
'aria-hidden': 'false',
|
||||
tabindex: '0'
|
||||
}
|
||||
} );
|
||||
if ( typeof resizeObserver !== 'undefined' && resizeObserver ) {
|
||||
|
@ -174,7 +175,8 @@ class TabberAction {
|
|||
tabpanelVisibilityUpdates.push( {
|
||||
element: tabpanel,
|
||||
attributes: {
|
||||
'aria-hidden': 'true'
|
||||
'aria-hidden': 'true',
|
||||
tabindex: '-1'
|
||||
}
|
||||
} );
|
||||
if ( typeof resizeObserver !== 'undefined' && resizeObserver ) {
|
||||
|
|
Loading…
Reference in a new issue