RE: Significant ambiguities in aria-roledescription

From: Matt King [mailto:a11ythinker@gmail.com]
Sent: Thursday, July 7, 2016 4:18 AM

Ambiguity #1: role none with a role description:
<img role="none" aria-roledescription="Gotch ya">
<table role="none" aria-roledescription="layout table">

What would end up in the AX tree? What should a screen reader say?
[Jason] This is indicative of an author error. I think the tree should always reflect the value of the role attribute.

Ambiguity 2:  role description on an element whose role is normally suppressed by screen readers:
<ul>
<li aria-roledescription="fruit">Apple</li>
<li aria-roledescription="fruit">Banana</li>
<li aria-roledescription="fruit">Orange </li>
</ul>

Should screen readers be expected to announce each list item as a fruit? Or, should the screen reader be able to use normal processing for the listitem role and not speak the role description?
[Jason] Given that the author specified aria-roledescription, most likely for a legitimate reason, it should be honored in this case. However, it shouldn't override the implications of the actual role as given in the role attribute, which is why role="none" should be respected in the content of the accessibility tree.


________________________________

This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited.


Thank you for your compliance.

________________________________

Received on Thursday, 7 July 2016 12:59:12 UTC