E-mail List Archives
Re: JAWS reading disabled radio button state incorrectly
From: JP Jamous
Date: Sep 15, 2017 8:13AM
- Next message: Birkir R. Gunnarsson: "Re: JAWS reading disabled radio button state incorrectly"
- Previous message: Thompson, Rachel: "Latest and greatest document accessibility best practices?"
- Next message in Thread: Birkir R. Gunnarsson: "Re: JAWS reading disabled radio button state incorrectly"
- Previous message in Thread: Mark Magennis: "JAWS reading disabled radio button state incorrectly"
- View all messages in this Thread
Looking at this real quickly, I noticed that the radio buttons are missing the Name attribute. Add one and see if that makes a difference.
-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of Mark Magennis
Sent: Friday, September 15, 2017 8:44 AM
To: Webaim Forum < <EMAIL REMOVED> >
Subject: [WebAIM] JAWS reading disabled radio button state incorrectly
Hi everyone,
I'm looking at a radio button set that is not working as expected with JAWS. When I select a radio button, all radio buttons become disabled by scripting. If I then navigate through them with the arrow keys, JAWS does not announce the checked state of the selected radio button correctly. Any idea why?
<fieldset>
<legend>List of Answers</legend>
<input name="group" id="one" onchange="change()" type="radio">
<label id="labelOne" for="one">First</label>
<input name="group" id="two" onchange="change()" type="radio">
<label id="labelTwo" for="two">Second</label>
<input name="group" id="three" onchange="change()" type="radio">
<label id="labelThree" for="three">Third</label>
</fieldset>
<script>
function change() {
$("#one").attr("disabled", "disabled").attr("aria-disabled", "true");
$("#two").attr("disabled", "disabled").attr("aria-disabled", "true");
$("#three").attr("disabled", "disabled").attr("aria-disabled", "true"); } </script>
Thanks,
Mark
---
This email has been checked for viruses by AVG.
http://www.avg.com
- Next message: Birkir R. Gunnarsson: "Re: JAWS reading disabled radio button state incorrectly"
- Previous message: Thompson, Rachel: "Latest and greatest document accessibility best practices?"
- Next message in Thread: Birkir R. Gunnarsson: "Re: JAWS reading disabled radio button state incorrectly"
- Previous message in Thread: Mark Magennis: "JAWS reading disabled radio button state incorrectly"
- View all messages in this Thread