-
Notifications
You must be signed in to change notification settings - Fork 22
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
Relation to HTML-AAM not obvious #8
Comments
related #11 |
@xi this is an interesting one. In Firefox/chrome/Edge on windows 10 the |
I think accname should either have a general language-agnostic algorithm with clear hooks for each language to define the relevant steps, or accname should just contain everything (HTML, SVG, what else?). The current setup with two conflicting specs is confusing, I can't tell what the expected behavior should be for e.g. this test case:
In Safari and Chrome, the accessible name is "", in Firefox and Edge it is "Foo". |
related minutes from TPAC 2018: https://www.w3.org/2018/10/25-aria-minutes#item05 |
I was not sure whether to post this issue on accname or html-aam, so maybe it needs to be moved.
The HTML Accessibility API Mappings (html-aam) document has a long section on Accessible Name and Description Computation that overwrites some aspect of this specification. This is not obvious when reading the accname specification. I think a note should be added.
On top of that, splitting the algorithm across two documents makes it even more complex. I understand that this is necessary to split out the bits that are specific to HTML. But it leads to some strange results. Consider the following example:
aria-label
oraria-labelledby
attribute is present) and thetitle
"test" is returned instead.I am not sure if this effect is intentional.
The text was updated successfully, but these errors were encountered: