Skip to content

Drop export to "role" attribute #6890

Open
@marcoscaceres

Description

@marcoscaceres

The ARIA spec now defines and exports the role attribute:
w3c/aria@5aa4442

So it might be prudent for HTML to no longer export it, and reference ARIA (HTML already references ARIA, but it should probably link directly to the ARIA spec for the definition).

Role is also defined by SVG2 (I've filed a bug there too):
https://svgwg.org/svg2-draft/struct.html#roleattribute

What would be amazing is if the HTML editors' could take a look at the role definition in Aria and see if it needs fixing up or additional things, so it's defined in the same manner as other attributes in HTML 🙏.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a11y-trackerGroup bringing to attention of a11y, or tracked by the a11y Group but not needing response.accessibilityAffects accessibility

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions