Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JAWS not reading select box value when changing options using keyboard down arrow

I'm testing my web page for accessibility using JAWS reader. Below is a sample HTML markup from my page.

<label for="MySelectBox">Select a color</label>
<select id="MySelectBox">
    <option>Red</option>
    <option>Blue</option>
    <option>Green</option>
</select>

When navigating the page through keyboard and changing the select box value using Down arrow key, JAWS is not reading the changing values as you press down arrow.

Anything I'm missing in here? Should I add any additional ARIA labels to make JAWS recognize the change event?

like image 923
Veera Avatar asked Jun 19 '14 05:06

Veera


2 Answers

This one does seem strange. You can debug this by first creating test html page containing just the code you pasted here and testing it under same setup. If that works, you might want to go back your page and check for incorrectly formatted mark-up above this select box. Sometimes unclosed tags (typical culprits:<LI> and <BR>) and erroneous JavaScript/Jquery element manipulations create issues with screen readers.If possible, post your rendered page's HTML content here for others to review.

like image 69
508Ninja Avatar answered Nov 09 '22 19:11

508Ninja


For anyone else who might see this, I was having trouble having JAWS read the ListItems stored in the DropDownList too.

I had been testing this only in Chrome and after reading the comments here tested in Firefox and JAWS would read the ListItems when you scrolled through the DropDownList with the arrow keys. So this must be a compatibility issue with Chrome.

like image 1
Nathan Avatar answered Nov 09 '22 19:11

Nathan