Skip to content

Checkbox is Broken for Screen Reader Users #575

Closed

Description

@frastlin

Description

When a screen reader, such as NVDA, arrows over the checbox, it says "Checkbox state blank". When tabbing to the checkbox, the screen reader says "blank".
This is due to the checkbox having role="presentation". Someone needs to urgently look at all the basic vaadin components, both button and checkbox are broken to the point of unusability for screen reader users.
Why not just use the native component and style it to be what it should be and just call it a day? Add the aria when needed, and leave the rest for the framework and browser to handle.

Expected outcome

Checkbox should be announced when it's arrowed over, without the blank at the end, and the label should be read. "Checkbox state label". When you tab, the same message should read.

Actual outcome

The screen reader adds a blank to the end of the message when arrowing, and says "blank" when tabbing. It also may say nothing wen tabbing or arrowing.

Live Demo

https://vaadin.com/components/vaadin-checkbox/html-examples

Steps to reproduce

  1. Using NVDA 2020.2, visit the examples site
  2. Hit "3" to jump to the "Basic Usage" heading.
  3. Hit tab once. NVDA will not read anything. Sometimes NVDA does ignore the role=presentation, because it is getting too many conflicting commands, so that checkbox reads maybe 10% of the time. The next checkboxes under Basic usage with checkbox group never read. Just keep tabbing. Every single checkbox should read on the page.

Browsers Affected

  • Chrome
  • Firefox
  • [?] Safari
  • Edge
  • [?] iOS Safari
  • [?] Android Chrome

Activity

  1. rolfsmeds commented on Sep 30, 2020

    @rolfsmeds
    Contributor

    Reminder to also check VoiceOver.

  2. j-sobotka commented on Oct 19, 2021

    @j-sobotka

    Hello, we are facing the same problem with vaadin components and validation by using NVDA tool. There is any updates about that issue?

  3. web-padawan commented on Oct 19, 2021

    @web-padawan
    Member

    @j-sobotka The new version of vaadin-checkbox is coming to Vaadin 22 planned to be released as stable in December.

  4. j-sobotka commented on Oct 19, 2021

    @j-sobotka

    May I ask about other components like vaadin-button. Did You checked it in the same way (validation by NVDA)?

  5. rolfsmeds commented on Oct 19, 2021

    @rolfsmeds
    Contributor

    All Vaadin 14 components (except for Charts) have been thoroughly checked with NVDA, JAWS and VoiceOver, and we are in the process of fixing all issues found, and shipping these fixes in V22, V23, and V23.x minors. There will be a blog post about this soon, probably next week.

  6. j-sobotka commented on Oct 19, 2021

    @j-sobotka

    So we are waiting for new version. Thanks a lot!

  7. web-padawan commented on Nov 8, 2021

    @web-padawan
    Member

    This should be resolved in Vaadin 22.0.0-beta1, you can try the new checkbox here. Closing the issue as fixed.

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