Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get Jaws to read aria-describedby attribute

The problem is as mentioned in the title and here is what I have as my HTML code.

<li> <a id="blog-setup" href="https://illinois.edu/toolbox/0.portlet?componentId=13&amp;desktopId=1" aria-describedby="readme">setup</a> </li>
<div id="readme">HELLO WORLD</div>

What happens is Jaws states the following: "Link setup...press the Jaws key, alt key, and R to read the aria-describedby". What I expect would be for Jaws to say "Link setup Hello World".

like image 657
Minja Avatar asked Jan 02 '12 19:01

Minja


People also ask

Do Screen readers read aria-Describedby?

aria-describedby content may not be announced by all screen readers if navigating to a button, link, or form control with the virtual cursor. JAWS specifically may not announce an element's description when using hot keys to navigate to certain elements.

What is aria-Describedby attribute?

Description. The aria-describedby attribute lists the id s of the elements that describe the object. It is used to establish a relationship between widgets or groups and the text that describes them. The aria-describedby attribute is not limited to form controls.

What is the difference between aria-Labelledby and aria-Describedby?

aria-labelledby should reference brief text that provides the element with an accessible name. aria-describedby is used to reference longer content that provides a description.


2 Answers

The behavior is what is intended (I'm not saying it is what it should be), JAWS has aria-describedby support since version 12 and it just alerts the user that it exists and reads the shortcut. If you have JAWS 12 or later, you can find the message in .smf files (JAWS shared settings folder) in [HTML Attribute Behavior Table] section, in my Classic.smf there is a line

    describedby=1|NormalVoice:Use JawsKey+Alt+R to read descriptive text||
like image 189
comodoro Avatar answered Nov 03 '22 00:11

comodoro


In my case, when I focus the item with the descriptive text, and press (INS + ALT + R), JAWS simply says "Alt R" and nothing else. Any idea why is this happening?

like image 29
Abhay Patil Avatar answered Nov 03 '22 01:11

Abhay Patil