-
Notifications
You must be signed in to change notification settings - Fork 355
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
Should alert, status, log, and timer mention aria-labelledby in Accessible Name Guidance table? #1218
Comments
aria-labelledby
in Accessible Name Guidance table?
In my opinion the content in the column "Guidance" of the table "Accessible Name Guidance by Role" do not match with the ARIA specification because on the one hand
|
Thanks for pointing out that the value of aria-atomic may make a difference in whether or not the live region's label is output. To be sure I understand your point, can I rewrite your sentence as follows?
|
@carmacleod: Sorry, my expression is not so good because I'm not a native speaker. What I wanted to say was: according the ARIA spec
|
@JAWS-test, that is a good catch about atomic. That only describes auto-announcement. If the user reads the status, log, or timer with a reading cursor, aria-label will not be announced; there is no place to put it without it appearing to be part of the content, which it is not. I suppose screen readers could start identifying boundaries like they do for a list, then they would be able to render aria-label. Today, screen readers do not do this. That said, I would prefer that we deprecate these specialized live region roles. I think they create confusion and sometimes make accessibility worse. Often people will add them to an element that provides more useful semantics without the role. For example, they add role log to a table, and it would be better to keep the table semantics. In some cases, it would be more useful for something like status to be a named region, e.g., a div with role region and a name of status. Even if screen readers exposed log elements, I don't think anyone would go looking for one. They'd be looking for a chat transcript, but the only person who might to think of a log element is some accessibility geek. So, rather than ask screen readers to expose the specialized live regions, I think we should deprecate them. |
See related w3c/aria#1104 |
That's right. If the APG table is not about the automatic output of the name in case of a change of the content of the live region, but about the output of the name when reading with the arrow keys, this should be mentioned explicitly.
The question would be why the screenreaders do not correctly output the roles for live regions:
|
The guidance for
alert
,status
,log
, andtimer
in the Accessible Name Guidance by Role table all say the following (where [role] is either alert, status, log, or timer):I think this should also say something to the effect of:
For info, the
marquee
guidance says:Use aria-labelledby if a visible label is present, otherwise use aria-label.
The text was updated successfully, but these errors were encountered: