-
Notifications
You must be signed in to change notification settings - Fork 120
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
Description at aria-relevant incomprehensible and wrong #1048
Comments
Would adding the text in [ ] above help clarify. The text does not mean that all descendants would be calculated using contents but that the live node itself would use contents for its text but all child nodes would use the standard accessible name calculation. |
I'm sorry, I don't understand. It would probably help if you explained
While there was a discussion about the meaningfulness of removals (#712), I would rather suggest talking about the sense of text and additions. Probably there is no practical sense and it is enough to distinguish between addition+text, all and removals. |
The entire premise of this issue seems to be based this statement
What this means is that the live region element itself has a name for the purposes of the live region calculation as if that element were determined from contents. This does not change how child elements have their name calculated. Thus my attempted rephrasing of this sentence to
So to try to tackle your questions:
If it is the live region itself then yes - if it is a child of the live region then no.
Again if the live region is on the element then yes - if the element is a child of the live region then no.
The same thing is generally output for the live region. Text vs Additions is used when calculating whether a live region event is triggered. Additions is only looking for the addition of nodes whereas text needs to look at the calculated accessible name to determine if the text has changed. |
No - it is a contained image so the text is absolutely correct
if aria-atomic is set to false then I'd expect the new node to be output. Exactlly how AT decides to output a node in a live region is a decision of the AT.
Happy to add this
Good question. This needs defining as it is unclear. |
@jnurthen Many thanks for the detailed explanations and changes to the specification. I have now understood. It might be important to note that a live region has two accessible names: one that can only be explicitly assigned by the author (Name From: author, and which does not change or whose change is unlikely to result in an output of the live region by AT), and the content of the live region whose change leads to the output of the live region. I understand it at least in such a way that the following refers only to the second type
Shall I leave the issue open or create a new one for
|
Related #712 |
consult with @aleventhal |
Closed the previous PR as I don't think it actually clarified anything (and I messed up the rebasing) |
https://rawgit.com/w3c/aria/master/#aria-relevant:
button aria-label=button
should be output if its text content changes and not be output if its aria-label changes? This would be quite misleading, because then a change in the source code would be output, which would not be noticeable anywhere on the page when navigating with the screenreader.The example with the alt attribute seems to me to be wrong, because when I follow the link (https://rawgit.com/w3c/aria/master/#namecalculation), it explains that the alt attribute is name from author and not name from content
span
element in a live region an action that is output by aria-relevant=text or aria-relevant=addition?The longer I think about aria-relevant, the more unclear it becomes to me what the difference between text and additions should be.. And the developers of Firefox and Chrome don't seem to know any difference either, because they don't make any.
The text was updated successfully, but these errors were encountered: