4 ms·
What are the accessibility implications of drawing all controls of a web app to the canvas using React? Are there ARIA annotations available for React already?
by drhayes9 12y ago
What are the accessibility implications of drawing all controls of a web app to the canvas using React? Are there ARIA annotations available for React already?
- spicyj 12y agoI don't know the specifics of how canvas accessibility does or doesn't work, but React definitely supports adding ARIA attributes to any tags it renders.
- drhayes9 12y agoThat's one of the problems with rendering UIs on canvas: it doesn't work with a11y. And since it's not rendering tags, there's nowhere to hang the ARIA attributes.
- tmzt 12y agoI wonder if an invisbile SVG layer would work for that purpose, or translate positioned invisible DOM as a fallback.
- danabramov 12y agoSee also: https://github.com/flipboard/react-canvas#accessibility https://github.com/flipboard/react-canvas#accessibility