WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Radio Buttons Not Functioning

for

From: JP Jamous
Date: Jan 30, 2017 3:22PM


Peter,

I hate to say this, but no. It is in QA and requires certain credentials to allow access. Sorry.

I will dissect it later to try to identify what the cause really is. I just wanted to real quickly on here see if any of you had something similar in the past.

-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of Bossley, Peter A.
Sent: Monday, January 30, 2017 3:47 PM
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: Re: [WebAIM] Radio Buttons Not Functioning

That's odd. Is there a place you can link to that is showing this behavior live? It is going to be difficult to tell much without being able to look at the code live.


-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of JP Jamous
Sent: Monday, January 30, 2017 3:23 PM
To: 'WebAIM Discussion List' < <EMAIL REMOVED> >
Subject: Re: [WebAIM] Radio Buttons Not Functioning

No it does not.

-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of Bossley, Peter A.
Sent: Monday, January 30, 2017 2:14 PM
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: Re: [WebAIM] Radio Buttons Not Functioning

When you tab onto the radio group, does jaws properly report the number of options in the radio grouping and make the sound to indicate forms mode triggering?


-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of JP Jamous
Sent: Monday, January 30, 2017 11:11 AM
To: 'WebAIM Discussion List' < <EMAIL REMOVED> >
Subject: Re: [WebAIM] Radio Buttons Not Functioning

I am only auditing and this is a nasty dynamic page. I have N amount of time or it would expire on me.

-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of Swift, Daniel P.
Sent: Monday, January 30, 2017 9:42 AM
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: Re: [WebAIM] Radio Buttons Not Functioning

I don't think this is the answer that you are looking for --- why not just remove the divs and style the input/labels as appropriate?

*big grin*

All the best,
Dan

-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of JP Jamous
Sent: Monday, January 30, 2017 10:36 AM
To: 'WebAIM Discussion List'
Subject: [WebAIM] Radio Buttons Not Functioning

Folks,



I have various radio buttons that populate dynamically, which is not an issue. However, if I go into forms mode, JAWS is unable to toggle between the radio buttons using arrow keys.



1. Proper HTML semantic is being used.
2. Input fields have the same unique name.
3. No tabindex on any of the radio buttons, leaving the browser to
handle that.



The only thing that popped up at me was separate div tags. Here is how the structure is in the DOM.



<div>

<input type="radio" id="radio1" name="offer" />

</div>

<div>

<label for="radio1">

1 year plan

</label>

</div>



<div>

<input type="radio" id="radio2" name="offer" />

</div>

<div>

<label for="radio2">

2 year plan

</label>

</div>





My assumption is that the div tags are causing JAWS not to be able to toggle between the radio buttons via arrow keys. Although the input fields have the same name attribute, the div is identifying to JAWS that this is a different block of HTML. Therefore, the arrow key script is failing.



What are your thoughts?