3 ms·
It's referring to a11y[0]/WCAG[1] type accessibility (i.e. the ability for screen readers and other a11y tools to be able to easily parse and navigate a CM edit
by umvi 6y ago
It's referring to a11y[0]/WCAG[1] type accessibility (i.e. the ability for screen readers and other a11y tools to be able to easily parse and navigate a CM editor).
Example from: https://codemirror.net/6/examples/tab/ https://codemirror.net/6/examples/tab/
> By default, CodeMirror does not handle the Tab key. This isn't an oversight—it is an intentional decision to make the default configuration pass the "no keyboard trap" criterion of the W3C Web Content Accessibility Guidelines. Some users browse the web without access to a pointing device, and it is really unfriendly towards such users to have focusable inputs that they cannot escape from.
[0] https://www.a11yproject.com/checklist/ https://www.a11yproject.com/checklist/
[1] https://www.w3.org/WAI/standards-guidelines/wcag/ https://www.w3.org/WAI/standards-guidelines/wcag/