Closed
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.