Created by: maedi
Bootstrap Tabs almost conforms to the ARIA spec for tabs but not quite: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Tab_Role#Description
To match the spec the following changes have been made:
- Change the
tab
from usingaria-expanded
toaria-selected
- Connect to
tabpanel
s via thetab
'saria-controls
value - Change the
tabpanel
from using an.active
css class toaria-expanded
(in addition)
The HTML will need to ensure that their tab
's aria-controls
and tabpanel
's id
match.