argyleink / roving-ux

stateful roving index for web ui
129 stars 7 forks source link

need better communication to screen readers #20

Open argyleink opened 1 year ago

argyleink commented 1 year ago

should say that it's arrow navigation and not tabs, since we kinda are hijacking it into something other than what is natural

hchiam commented 2 months ago

using arrow keys to select different items in the list makes me think of radio input interaction, so then maybe something like adding role="radio" to each item would be a quick clean fix, at least for now?

this would help enhance things like the game menu where each item is a button, since it otherwise may not be immediately obvious to users that you must use the arrow keys and can't tab to the other buttons in the same list

hchiam commented 1 month ago

see discussion https://github.com/argyleink/roving-ux/pull/23#issuecomment-2197430788