joystick icon indicating copy to clipboard operation
joystick copied to clipboard

Look into having an accessibility option on components

Open rglover opened this issue 3 years ago • 1 comments

Thinking a lot about this tweet https://twitter.com/natac131/status/1483058573240328194.

Working now and an idea came to mind to add an accessibility option to components. Idea would be to pass an object of common accessibility things (a title, description, etc) and auto-apply them to the component wrapper <div /> as well as pass the accessibility terms to the render().

Goal would be to reduce the steps to support accessibility without killing productivity/forcing obsession with semantics.

rglover avatar Jan 18 '22 15:01 rglover

This is a cool idea. Would be nice to have a render method like a11y() that generates the necessary a11y attributes. Would need to think about how to do it without needing to pass a bunch of stuff.

rglover avatar Jul 18 '23 02:07 rglover