Skip to content
This repository has been archived by the owner on Apr 16, 2022. It is now read-only.

Prevent keyboard trap in lesson editor #2

Open
jrobind opened this issue Dec 3, 2020 · 0 comments · May be fixed by #141
Open

Prevent keyboard trap in lesson editor #2

jrobind opened this issue Dec 3, 2020 · 0 comments · May be fixed by #141
Labels

Comments

@jrobind
Copy link
Owner

jrobind commented Dec 3, 2020

Currently if you tab into the editor you cannot tab out of it. This causes a keyboard trap which is bad accessibility.

Essentially, we need to prevent WCAG 2.1.2 No Keyboard Trap.

A possible solution is to allow the escape key to exit the editor.

After some discussion in the Discord channel we might want to approach this by:

  • adding a checkbox that allows you to enable/disable tab inside the quill editor. Once active you'll need to press esc (or click) to deactivate tab allowed mode
  • alongside a checkbox, we might also need an onscreen message informing the user that hitting escape will allow them to tab to the next element.
@jrobind jrobind added the help wanted Extra attention is needed label Dec 27, 2020
@Hunter-1 Hunter-1 linked a pull request Oct 1, 2021 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant