medialize / ally.js

JavaScript library to help modern web applications with accessibility concerns
http://allyjs.io/
MIT License
1.53k stars 83 forks source link

Radio groups are not considered when maintaining tab focus #159

Open basham opened 6 years ago

basham commented 6 years ago

I'm reviewing the Accessible Dialog Tutorial, and I've started to explore the associated JSBin. Because tabbing works differently for radio groups, I wanted to see how robust Ally.js is.

Expected behavior:

However, within the dialog maintained by Ally.js, every radio button is individually tabbable, regardless of how they're grouped. This should probably be investigated further. This JSBin clones the tutorial and adds radio button groups outside and inside the dialog, for comparison:

https://jsbin.com/qehewot/1/edit?html,css,js,output