Skip to content

Editor is a focus trap #3085

Closed
Closed
@sampottinger

Description

@sampottinger

p5.js version

N/A (Online Editor)

What is your operating system?

Linux

Web browser and version

Firefox 142

Actual Behavior

Entering the editor is possible with the keyboard but it isn't possible to leave it using the escape key. This is a "focus trap" which is covered in WCAG 2.1.2.

Expected Behavior

This may be a possible hint for fixing in a recent change in ACE editor behavior which is resolved recently in ajaxorg/ace#5114

Steps to reproduce

Steps:

  1. Open the p5.js web editor
  2. Give the code editor focus
  3. Try to leave the code editor

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area:AccessibilityCategory for accessibility related features and bugsBugError or unexpected behaviorsPriority:HighShould be addressed soon but not critical

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions