Skip to content

rich text editor keyboard trap #6040

@thiessenp-cds

Description

@thiessenp-cds

In the form-builder with a Page Text element when a keyboard user tabs into the rich-text editor the user is "trapped". See WCAG 2.1.2 No Keyboard Trap (Level A). Tabbing or shift-tabbing will not allow them to exit the editor. Keying tab adds a tab indent in the editor. Keying ALT+TAB will tab the user out of the editor but this is not clear.

Some more background: the Tab is needed inside the editor to allow indentation and creating nested lists

This issue could be solved in a number of ways:

  • re-bind the TAB key back to the browser default to allow natural tabbing in and out of the rich-text
  • add a legend menu with the custom keys ALT+TAB and ALT+SHIFT+TAB
  • add a new key that exist the editor e.g. ESC and add a legend etc.

Metadata

Metadata

Assignees

Labels

Appa11yAccessibility related issuedevelopmentDevelopment task / work required

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions