Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

set tab order bettween radio buttons

Avatar

Level 2

Hi all,

I try to set tab order between radio buttons, tab should go gender from male radio button, then go to female radio button) but tab go from male radio button and then go to city text field.

I have spent to figure why tab order is unable to go between radio button. But it is not working. Please help.

Do we have a way to set tab order between radio buttons.?

Thanks for your help,

Cindy

2 Replies

Avatar

Level 4

i believe that is default behaviour of Reader.  when you are on a radio button, you need to use the arrow keys to toggle between them.  I believe this is standard behaviour for accessibility.

For the behaviour you want,  you will need to fake it.. put 2 check boxes and write code that turns the other off when selected.  From the following link Can't I tab through radio buttons? - PDF forms Acrobat | Ask MetaFilter

I think the new behavior in version 7 is the more standard behavior. I do a lot of accessibility work for blind users and the tab to group of radio buttons, then use arrow keys to select the button is what I would expect in a standard application. The reasoning behind this is that if you tab through the radio buttons, the selection on the radio button changes to the current button. For a blind user, tabbing through the form would always leave the last button selected. If you are moving focus to radio buttons and they are not being selected, this is non-standard behavior.

if you want the tabbing behaviour you have stated, then dont use radio buttons.  Use check boxes and write code to untoggle the other checkboxes when 1 is selected.

Avatar

Level 2

Hi!

What if i want to restrict user from using the arrow keys within radio button??

I have 3 options in on radio group where the 2nd and 3rd options are protected. Ofcourse tab order does not work there but when the focus is on the first option, i am still able to move to the next options (2nd and 3rd) with arrow keys and they get selected despite them being "protected".

This happens only when i use arrow key and now while using mouse!

Please help!

Thanks,

Radhika Magaji