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

Consider removing normative statement regarding "no accessible object created" #19

Open
joanmarie opened this issue Oct 25, 2021 · 0 comments

Comments

@joanmarie
Copy link
Contributor

In Excluding Elements from the Accessibility Tree, it states:

User agents MUST NOT include any elements, or their descendant content, as an accessible object in the accessibility tree that are indicated as no accessible object created in the SVG Element Mapping Table.

For the most part this JustWorks(tm) in implementations. But if an author applies a role to one of the prohibited elements and that element is rendered, explicit handling might be needed in order to comply with the above normative statement. This is (at least) the case in Chrome. I have a pending implementation. However the reviewer (@aleventhal) stated:

I'm not yet convinced the current code is wrong.

If someone adds role="button" and display:block to a normally hidden tag, and it actually gets rendered, then I think it should be exposed as a button in case it receives focus.

It's also a pretty bizarre case, no?

IOW I don't see the real-world value of the additional lines of code.

And we decided to file an issue here and see if that is something validators should handle, and give user agents more flexibility regarding handling this author error.

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

No branches or pull requests

1 participant