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

Fix the role attribute definition. #2145

Open
jyasskin opened this issue Mar 11, 2024 · 1 comment · May be fixed by #2146
Open

Fix the role attribute definition. #2145

jyasskin opened this issue Mar 11, 2024 · 1 comment · May be fixed by #2146
Assignees

Comments

@jyasskin
Copy link
Member

@marcoscaceres' #1516 changed https://w3c.github.io/aria/#host_general_role to use a <dfn> for the role attribute, and then @jnurthen's a56ae18 changed it back. This paragraph claims that "An implementing host language will provide a role attribute", but HTML does not in fact provide one, and @marcoscaceres filed whatwg/html#6890 to have HTML remove its <dfn> for the term.

I don't have a preference for where the attribute is defined for HTML elements, but it should be defined somewhere.

@annevk
Copy link
Member

annevk commented Mar 11, 2024

Is it supported on elements outside the HTML, SVG, and MathML namespaces? If so, DOM would probably be the best place.

@jnurthen jnurthen self-assigned this Mar 11, 2024
jnurthen added a commit that referenced this issue Mar 11, 2024
@jnurthen jnurthen linked a pull request Mar 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants