Skip to content

Bug: Keyboard Tab Navigation Not Working Properly in Settings Modal #4070

@Jatin24062005

Description

@Jatin24062005

p5.js version

No response

What is your operating system?

None

Web browser and version

No response

Actual Behavior

While testing keyboard accessibility in the Settings modal, tab navigation is not functioning correctly.

The focus gets trapped within toggle options (e.g., On/Off buttons).
Pressing Tab cycles between these buttons instead of moving forward.
It does not reach other tabs like:
Accessibility
Library Management

This creates an accessibility issue for keyboard-only users.

Image

Expected Behavior

Tab should follow a logical focus order:
Move across sections
Reach top navigation tabs (Accessibility, Library Management)
Not get trapped inside toggle components

Steps to reproduce

Open the Settings modal
Start pressing Tab key to navigate
Observe focus behavior

// Paste your code here :)

Metadata

Metadata

Assignees

Labels

BugError or unexpected behaviors

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions