Inconsistent Screen Reader Announcement for Word Wrap Toggle Button #3475
Labels
Area:Accessibility
Category for accessibility related features and bugs
Bug
Error or unexpected behaviors
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:
The text was updated successfully, but these errors were encountered: