Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Browse mode' not correctly supported. #41

Open
brennanyoung opened this issue Feb 28, 2020 · 0 comments
Open

'Browse mode' not correctly supported. #41

brennanyoung opened this issue Feb 28, 2020 · 0 comments

Comments

@brennanyoung
Copy link

brennanyoung commented Feb 28, 2020

We had some accessibility problems with this, reproducible on the demo page: I tried the "rank the bands" thing with NVDA running, but because it uses an OL to group the elements, the screen reader is in browse mode, which means it 'eats' the arrow keystrokes. (OL is not an operable element type).

Lots of accessibility jargon there, you might need guidance, so there is some background on screen reader interaction modes here.

So it means that if you have NVDA running, you can grab and drop the items, but not actually move them. Other screen readers and assistive tech (notably JAWS) will have the same problem.

Possible Solution: Add role=application to the OL, and 'it just works' because it puts the assistive tech into 'forms mode' (also known as 'application mode'). Other operable roles might be more appropriate in a given case. Screen reader announcements are a bit chatty but communicate the right info otherwise.

I am not sure if this is the perfect solution, because it depends on the semantic context where this gadget will end up, but it's relatively easy to do and certainly makes dragon-drop work with NVDA, probably JAWS too. Accessible drag-and-drop is quite tricky, so that's a win, I should think!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant