Recently I've been playing around with a lot of WebGL and <canvas>
and I was wondering if there were best practices to making these accessible? Specifically if I have some fancy text animations that fly in and out, is there a way to let screen readers pick that information up dynamically?
I was thinking of using <aria-live>
attribute and timing/injecting the appropriate text into a <div>
to let screen readers know what is going on (similar to what was mentioned in this question) but I was uncertain if there were better practices for this?
I know <canvas>
itself has accessibility issues that w3 is trying to address.
Currently I'm using three.js to play around with things if people want context.