raunofreiberg / axe-mode

Accessibility testing visualized
MIT License
192 stars 5 forks source link

feat: improve keyboard navigation of overlays #14

Open raunofreiberg opened 4 years ago

raunofreiberg commented 4 years ago

Trivial keyboard support for interacting with overlays.

I'm not sure how to properly define the order of elements in keyboard navigation. Currently, every overlay gets a tabindex of 0 so the sequence will be based on the order of the violations that axe gives us, not the elements themselves.

@chancestrickland maybe you have some ideas here?

chaance commented 4 years ago

I think this is an area we might want to solicit feedback from the community. Here are two approaches that I think could work pretty well:

I'm going to pull this down and spin it up later today, just wanted to get some initial thoughts written down in the mean time.

raunofreiberg commented 4 years ago

@chancestrickland any additional thoughts on this? A nav skip link sounds like the natural choice for me, so I'd go with that!