Skip to content

Unable to activate Buttons by SPACE or ENTER when NVDA is active #8802

@AndreasSamjeske

Description

@AndreasSamjeske

Description

Customer is conducting an accessibility audit on our web app, which uses Vaadin. They found that,

with NVDA active, pressing SPACE or ENTER on a Button does nothing.

We were able to reproduce the issue.

Expected outcome

Button gets activated, just like clicking on it does.

Minimal reproducible example

Vaadin Docs Button Example will do: https://vaadin.com/docs/latest/components/button

Steps to reproduce

NVDA, Chrome or Edge

  1. Focusing Button by pressing TAB (several times).
  2. Hitting SPACE ==> Clicked x times does not increase.
  3. Hitting ENTER ==> Clicked x times does not increase.
  4. Clicking Button with mouse Clicked x times increases.

Exit NVDA.

  1. Focusing Button by pressing TAB (several times).
  2. Hitting SPACE ==> Clicked x times increases.
  3. Hitting ENTER ==> Clicked x times increases.
  4. Clicking Button with mouse Clicked x times increases.

Additional Info:
Only Buttons with Text are affected. If a Button has no Text, but just an Icon, SPACE and ENTER works even with NVDA.
If a Button with Text has an ariaLabel (Disclaimer: for a11y reasons, you probably shouldn't set an ariaLabel, if the Button has Text) it works!

We thought about using one of the above as workaround, but it is not feasible for us.

Environment

Vaadin version(s): 24.6.5
OS: MS Windows 11 Version 23H2
NVDA 2023.3.3.30854 and NVDA 2024.4.2 are both affected.
Chrome Version 134.0.6998.89
Edge Version 134.0.3124.66

Vaadin Version doesn't seem to matter. Even https://vaadin.com/docs/v23/components/button is affected.

Something changed in Chromeengine recently:
Google Chrome for Testing Version 134.0.6998.88 is affected.
Google Chrome for Testing Version 131.0.6778.87 is fine.
Google Chrome for Testing Version 129.0.6668.70 is fine.

Browsers

Chrome, Edge

Firefox (tested with 135.x and 136.0.2) works fine.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions