Skip to content

NVDA announces a button with role="switch" and aria-checked="true" as "pressed checked" #9187

@iamrafan

Description

@iamrafan

Steps to reproduce:

  1. Turn on NVDA and navigate to the button in the page(https://codepen.io/iamrafan/pen/NoPrBP?editors=1000) using NVDA
  2. Observe how the toggle button is announced

Actual behavior:

NVDA announces the toggle as "Improved dialog toggle button pressed checked"

Expected behavior:

The toggle is expected to be announced as "Improved dialog toggle button checked" or " Improved dialog toggle button pressed"

System configuration

NVDA installed

NVDA version: 2018.4

Windows version: Windows 10 Enterprise 1803

Does the issue still occur after restarting your PC? Yes

Have you tried any other versions of NVDA? Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions