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?
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With