Skip to content

Inconsistent Screen Reader Announcement for Word Wrap Toggle Button #3475

Closed
@Jatin24062005

Description

@Jatin24062005

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.

Image

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:

  1. Open the editor settings.
  2. Navigate to Accessibility options.
  3. Focus on the Word Wrap toggle button using a screen reader.
  4. Observe the mismatch in the spoken text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area:AccessibilityCategory for accessibility related features and bugsBugError or unexpected behaviors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions