-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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
Issue with "WAI-ARIA basics": … #366
Comments
To whoever fixes this, you need to update the description as suggested. |
@chrisdavidmills if you're ok with my description, I can do the PR |
@thierryk I'd be happy for you to do so. Assigning; thanks! |
@chrisdavidmills As far as I know, there is no example of tabpanel using empty |
- Added mention of **empty** `tablist` in the widget description - Added a paragraph explaining how ARIA works with empty `tablist` - Added a markup example of tabs not based on list items I did not include [an example](mdn#366 (comment))
- Added mention of **empty** `tablist` in the widget description - Added a paragraph explaining how ARIA works with empty `tablist` - Added a markup example of tabs not based on list items I did not include [an example](mdn#366 (comment))
Yes, that sounds like a good idea to me. |
tablist can be empty + example (closes mdn#366)
Oops, I should not have mentioned this issue in my "own" PR (that was not the plan). Here is the PR that was supposed to close this issue: #3235 |
Reopening to keep it open until #3235 goes through. |
MDN URL: https://developer.mozilla.org/en-US/docs/Learn/Accessibility/WAI-ARIA_basics
What information was incorrect, unhelpful, or incomplete?
The article suggests that an element with
role=tablist
contains the tabs of a tab panel.Specific section or headline?
What did you expect to see?
New roles — tablist, tab, tabpanel — these identify the important areas of the tabbed interface — the container for the tabs (or the container used for referencing the tabs), the tabs themselves, and the corresponding tabpanels.
Did you test this? If so, how?
Using "skip links" for tabs is not mandatory to create a tab panel. A
tablist
can be empty as long as it references the tabs viaaria-owns
. For example:Here is a live example: https://tabpanelwidget.com
MDN Content page report details
en-us/learn/accessibility/wai-aria_basics
The text was updated successfully, but these errors were encountered: