fix: incorrect aria attribute label

This commit is contained in:
alistair3149 2022-04-30 17:14:44 -04:00
parent dea326423c
commit b9eda4c4e7
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C

View file

@ -31,7 +31,7 @@ function initTabber( tabber, count ) {
tab.setAttribute( 'role', 'tab' );
tab.setAttribute( 'href', '#' + hash );
tab.setAttribute( 'id', 'tab-' + hash );
tab.setAttribute( 'aria-select', false );
tab.setAttribute( 'aria-selected', false );
tab.setAttribute( 'aria-controls', hash );
fragment.append( tab );