stevenpetryk / mafs

React components for interactive math
https://mafs.dev
MIT License
3.24k stars 89 forks source link

Informing users about accessibility standards #13

Open stevenpetryk opened 4 years ago

stevenpetryk commented 4 years ago

When building math visualizations, it's common to have mouse-based interactions. It's worth warning people, especially ed-tech people, that they must accommodate keyboard users to comply with various parts of WCAG.

alexfauquette commented 1 year ago

I've been surprised to see how easy it was to use the keyboard for point manipulation

What do you have in mind? A docs page about keyboard interaction?

stevenpetryk commented 1 year ago

Generally yeah. I think with SVG, especially when creating custom elements, it'll be easy for people to blunder things like keyboard operability and navigation.

I think screen reader support is unlikely (given the visual nature of the library) but it would be good to ensure folks know how to make accessible visualizations.

Even as it stands now, I don't like how users have to tab through movable points. It feels cumbersome if there's a lot on the screen, and since they can be repositioned arbitrarily, the tab order can feel unintuitive at times.