Add role
to global attributes
#19942
Labels
Content:Accessibility
Accessibility docs
Content:HTML
Hypertext Markup Language docs
good first issue
A good issue for newcomers to get started with.
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 thereWhat did you expect to see?
A section on
role
betweenpart
andslot
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 attributesDo you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
The text was updated successfully, but these errors were encountered: