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:
- Load any etherpad document, e.g. 'Wikimedia etherpad service example document' and do not touch mouse.
- Use
Tab to move focus into the editor (unless the focus is already in the editor)
- Use
Tab, Shift+tab or Arrow Keys to get out of the editor as explained in WCAG 2.0, Success Criterion 2.1.2
Expected behavior
The user should be able to get out of the editor area or have clear instructions about how to do it.
WCAG 2.0, Success Criterion 2.1.2: No Keyboard Trap: If keyboard focus can be moved to a component of the page using a keyboard interface, then focus can be moved away from that component using only a keyboard interface, and, if it requires more than unmodified arrow or tab keys or other standard exit methods, the user is advised of the method for moving focus away.
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.2
-
npm version (npm --version): 6.14.15
-
Is the server free of plugins: yes
Desktop (please complete the following information):
- OS: Ubuntu 22.04.4 LTS
- Browser: Google Chrome
- Version: 127.0.6533.99 (Official Build) (64-bit)
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.
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:
Tabto move focus into the editor (unless the focus is already in the editor)Tab,Shift+tabor 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.