-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tabs: Add more ARIA attributes #4968
Comments
asudoh
added a commit
to asudoh/carbon-components
that referenced
this issue
Jan 8, 2020
This change adds ARIA attributes to `<Tab>` and `<TabContent>` to better describe their relationship. Fixes carbon-design-system#4968.
asudoh
added a commit
that referenced
this issue
Jan 16, 2020
This change adds ARIA attributes to `<Tab>` and `<TabContent>` to better describe their relationship. Fixes #4968.
joshblack
pushed a commit
to joshblack/carbon
that referenced
this issue
Jan 23, 2020
This change adds ARIA attributes to `<Tab>` and `<TabContent>` to better describe their relationship. Fixes carbon-design-system#4968.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From @abbeyhrt at #4959:
This looks great! Following WAI-ARIA's tabs example and to make the VO more clear, could you add the role of
tabpanel
to the TabContent?Also from @abbeyhrt at #4959:
I'm not sure how complicated this would be with how the tabs are, but it would be awesome if we could create a relationship between the Tab and the TabContent with something like
aria-controls={tabContentId}
on the Tab andaria-labelledBy={TabId}
on the TabContent. That seems to be the pattern used on accessible Tabs component examples, https://www.w3.org/TR/wai-aria-practices/examples/tabs/tabs-2/tabs.htmlThe text was updated successfully, but these errors were encountered: