4 ms·
To be clear, using canvas elements for UI is not inherently inaccessible so long as some accessible content on the page is also available to screen readers. Sli
by cnity 5y ago
To be clear, using canvas elements for UI is not inherently inaccessible so long as some accessible content on the page is also available to screen readers. Slint could in theory additionally render a kind of keyboard accessible overlay with invisible page elements, for example.
Edit: accessible -> inaccessible
- whylo 5y agoSure - that's the approach Google have taken with Docs, which switched to canvas-based rendering last year (https://thenewstack.io/google-docs-switches-to-canvas-rendering-sidelining-the-dom/ https://thenewstack.io/google-docs-switches-to-canvas-render...). It's definitely not for the faint of heart though.