Look into having an accessibility option on components
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.
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.