-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessibility: user trap: cannot escape the editor with TAB (WCAG 2.0, Success Criterion 2.1.2) #6581
Comments
Hi thanks for the report. Accessibility is indeed important. Do you have a suggestion for a good key binding for unfocusing the editor? Tab is for making a tab in the editor and shift + tab is for undoing the existing tab. |
I think keyboard Using tab to navigate between editors (one tab always escapes the editor) would be the optimal solution but I understand that it would clash with the existing feature where tab is already used. If you're willing to change the keybinding of Note that |
Describe the bug
Whenever etherpad lite is used within an iframe (or otherwise as part of larger page), the user using only keyboard access is trapped within the editor.
To Reproduce
Steps to reproduce the behavior:
Tab
to move focus into the editor (unless the focus is already in the editor)Tab
,Shift
+tab
or Arrow Keys to get out of the editor as explained in WCAG 2.0, Success Criterion 2.1.2Expected behavior
The user should be able to get out of the editor area or have clear instructions about how to do it.
Server (please complete the following information):
Etherpad version: unknown, whatever etherpad.wikimedia.org is running.
I could also reproduce the problem with older release 1.8.13 on Ubuntu 20.04.6 LTS so I would assume this happens with all versions:
OS: Ubuntu 20.04.6 LTS on x86-64 compatible Intel CPU.
Node.js version (
node --version
): 14.18.2npm version (
npm --version
): 6.14.15Is the server free of plugins: yes
Desktop (please complete the following information):
Smartphone (please complete the following information):
Didn't test because I don't know how accessibility is supposed to work with smartphone.
Additional context
WCAG 2.0, Success Criterion 2.1.2 describes accessbility level A requirement which is mandatory to implement if the software is used within EU area if I've understood correctly.
Note that the user should be able to exit from the editor at the start and at the end to allow all editors to be used if a single long page contains multiple etherpad instances (e.g. two iframes with one iframe per service running etherpad). If e.g. only Shift+Tab is supported to back out from the editor at the start of the editor, keyboard-only user can never access the second etherpad document on a long page.
The text was updated successfully, but these errors were encountered: