cables-gl / cables_docs

cables documentation docs.cables.gl
https://cables.gl/docs/docs
46 stars 16 forks source link

Accessibility: Make sidebar accessible by default #930

Open TobyKLight opened 4 days ago

TobyKLight commented 4 days ago

Request is to make the sidebar accessible to keyboard users and assistive technology like screen readers.

The advantage of doing this from cables.gl side is that every single patch using sidebar already has a massive increase in accessibility.

I think that would include

pandrr commented 3 days ago

https://github.com/user-attachments/assets/4347961d-52e1-4986-9956-d2b4ec964a8e

this looks quite good now... also outline is only set using focus-visible, so will not show when just clicking on it

TobyKLight commented 1 day ago

that's a great start

In terms of the roles and aria-labelledby attribute here is a video demonstrating what I'm talking about with the screen reader.

https://youtu.be/OzgLJhdJ-04