-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Area:AccessibilityCategory for accessibility related features and bugsCategory for accessibility related features and bugsBugError or unexpected behaviorsError or unexpected behaviors
Description
p5.js version
No response
What is your operating system?
None
Web browser and version
No response
Actual Behavior
When using a screen reader in the Editor Accessibility settings, there's an inconsistency in the announcement of the Word Wrap control:
✅ The "Wrap" component label is announced correctly by screen readers.
However, when focusing on the toggle button (On/Off), the screen reader says "Line wrap is enabled/disabled", which differs from the expected terminology.
This mismatch can cause confusion for users relying on assistive technologies.
Expected Behavior
Screen reader should consistently announce "Word Wrap is On/Off" (or a similar matching phrase) on the toggle button to align with the "Wrap" component labeling.
Steps to reproduce
Steps:
- Open the editor settings.
- Navigate to Accessibility options.
- Focus on the Word Wrap toggle button using a screen reader.
- Observe the mismatch in the spoken text.
Metadata
Metadata
Assignees
Labels
Area:AccessibilityCategory for accessibility related features and bugsCategory for accessibility related features and bugsBugError or unexpected behaviorsError or unexpected behaviors