Skip to content

Lacking Announcements for the Switch Role #948

Open

Description

@havvamehfooz

We have two lacking announcements related to the “switch” role:

  1. Aria-readonly=”true” for a “switch” doesn’t lead to the announcement of the read only state.
  2. There is no keyboard hint (tutor message) for the “switch” e.g. “Press enter to activate”

Native HTML Example
-Aria-readonly=”true” for a “switch” doesn’t lead to the announcement of the read only state
(native HTML sample: https://jsfiddle.net/td5fbyLm/)
-There is no keyboard hint (tutor message) for the “switch” e.g. “Press enter to activate”
(native HTML sample: https://www.w3.org/WAI/ARIA/apg/patterns/switch/examples/switch/)

Aria-readonly attribute is supported for a “switch” according to wai-aria 1.2: https://www.w3.org/TR/wai-aria-1.2/#switch

Both bugs we've indicated as they're related to the "switch" role.”

Activity

  1. JeremiahRogersVispero commented on Oct 6, 2026

    @JeremiahRogersVispero
    Contributor

    Bug 205304

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions