The long term answer is the Accessibility Object Model spec currently under development.
The current answer is to build a replica DOM structure for accessibility purposes.
• keyboard support (being able to navigate to all controls as needed, not being stuck in a navigation island from which there is no escape with the keyboard, etc.)
• pointing device considerations (not requiring drag unless absolutely essential, no action on mouse-down, etc.)
• not requiring the simultaneous use of mouse and keyboard (e.g. via modifier keys)
• sufficient size for buttons and other pointer targets
• the ability to suppress animations, flashing images, etc.
• the ability to control colors and contrast of things on the screen
...
Of course, something like Photoshop, Illustrator, or the visual part of Google Maps is hard to use when you cannot see, but there are so many different disabilities that some or even most accessibility guidelines can apply to pretty much any software.
Not everything is for everyone, get over it.
Or in Google Maps, which would be a much closer parallel?
Not ironic, expected. When you do a refactor like this any good PM knows you’re creating a bunch of new bugs, and the ROI of the rewrite should consider this.
Unfortunately the way it goes most of the time is “ok, what if we’re really careful not to write any bugs? Then it’s all upside!”
…and now your dark theme is broken
I actually think this is a better approach to accessibility in web applications than trying to hang all of HTML+CSS+ARIA on the DOM. Check out Accessibility Object Model (AOM) for one spec proposal around this idea.
> One particularly nice aspect of this system is that key presses follow the same flow as pointer events, which is not how things work in the DOM. In the DOM, you usually bind key handlers globally, and pointer events per element. But here, we get all the benefits of stopping propagation centrally, which is a real help for adding keyboard shortcuts and modifier keys.
ctrl+f "accessibility" in part 1: zero results
Does anyone care about digital access to content for disabled people ? Or about the ADA ?
Svg to canvas without any answer for accessibility is backwardness, plain and simple.
You are letting down anyone who's deaf, blind or has trouble hearing or seeing, anyone who does not know how to read, has motor impairments, temporary or not and the older folks. Also screen translaters will not work on canvas.
Please follow the WCAG guidelines.