-
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
accname can reference generic with label in a labelledby comp, but is underspecified #220
Comments
@cookiecrook Do we also need a separate ARIA issue for this since role If yes, perhaps we can include an ARIA spec note in section 5.2.8.6 that |
Hi,
Years ago this resulted in the accessible name of "$100.99". This apparently has been changed because it no longer does this in Chrome and Edge, however it still works as expected in Firefox. |
As a bit of background, this may seem like an arbitrary difference or authoring error as mentioned in the meeting, but it’s not that simple. About 6 or 7 years ago we did a lot of work on this part of the algorithm after we reached agreement in the WG, where the algorithm would return the explicit labels of all elements that were not embedded widgets in accordance with the spec if they included aria-label. This was added to the mainstream browsers and passed all checks. Later, as part of a client engagement due to a lawsuit for a financial institution where they were liable because their financial data was not being accurately conveyed to non-sighted screen reader users, I worked with their devs to correct the issue. It was complicated because the devs had limited control over their code and could only make minor changes due to platform limitations, and the only way to fix the issue was to employ the naming computation where label was returned as part of the algorithm process. The use of role=text was never an option because it never made it to mainstream implementation. Later, when the work of explicit naming for generic elements was discussed in the ARIA spec, I asked if this would have any impact on the recursive naming computation because that was going to cause problems, and I was assured it would not. This is why I find this frustrating, because it’s like having the rug pulled out from under a process that has already been solving specific problems for years. It is a vast oversimplification to say, “well just don’t do that”, because sometimes you have to. |
Bryan wrote:
JC: I think this needs more clarification in the AccName spec. Spawning new issue.
Originally posted by @accdc in #209 (comment)
The text was updated successfully, but these errors were encountered: