Skip to content
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

Add role to global attributes #19942

Closed
estelle opened this issue Aug 24, 2022 · 0 comments · Fixed by #20237
Closed

Add role to global attributes #19942

estelle opened this issue Aug 24, 2022 · 0 comments · Fixed by #20237
Labels
Content:Accessibility Accessibility docs Content:HTML Hypertext Markup Language docs good first issue A good issue for newcomers to get started with.

Comments

@estelle
Copy link
Member

estelle commented Aug 24, 2022

MDN URL

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes

What specific section or headline is this issue about?

#list_of_global_attributes

What information was incorrect, unhelpful, or incomplete?

role is not there

What did you expect to see?

A section on role between part and slot
Role is defined in WAI-ARIA, not in WHATWG, which also needs to be added in the spec table.

There is an entire section devoted to the role attribute -- https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles -- but on the global attributes page, the only content is "The ARIA role attribute and the multiple aria-* states and properties, used for ensuring accessibility."

While we shouldn't include the individual aria-* attributes, because that would pollute the page, the role attribute should be added, with a mention and link to attributes

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

@github-actions github-actions bot added Content:Accessibility Accessibility docs Content:HTML Hypertext Markup Language docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Aug 24, 2022
@sideshowbarker sideshowbarker removed the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Aug 24, 2022
@estelle estelle added the good first issue A good issue for newcomers to get started with. label Sep 1, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Content:Accessibility Accessibility docs Content:HTML Hypertext Markup Language docs good first issue A good issue for newcomers to get started with.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants