-
Notifications
You must be signed in to change notification settings - Fork 134
Fix incorrect role specified for html element - 571 #2504
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
Conversation
closes #571 changes the listed mapping for the html element to be the generic role, rather than the document role. A note is added to clarify the document role of a web page is exposed by a parent `document node` created by the user agent.
✅ Deploy Preview for wai-aria ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
per w3c/aria#2504 - the html element doesn't actually map to the `document` role - rather a parent `document node` to the `html` element is what exposes the `document` role of a web page. This update fixes the spec to match the updated HTML aam mapping / matches reality. The `generic` role is being added as an "allowed" but not recommended role to the `html` element. The `document` role is being kept as an allowed role for the `html` element. The rational there being that this has been in the spec for a long time and even when specified on the html element, from what i can tell, there's no pro/con to its inclusion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blocking the other approved reviews until we discuss this side effect of the change.
incorporating feedback from #2504 (comment)
@cookiecrook it sounds like your issue was resolved, can you positively review this? |
I've edited the top card to point to the html-aam issue. |
SHA: df5d60a Reason: push, by scottaohara Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
closes w3c/html-aam#571
changes the listed mapping for the html element to be the generic role, rather than the document role.
A note is added to clarify the document role of a web page is exposed by a parent
document node
created by the user agent.From what i can tell, no implementation bugs need to be filed, as browsers have been doing the right thing - and this is a spec correction to match reality.
Preview | Diff