vaadin / flow-components

Java counterpart of Vaadin Web Components
101 stars 66 forks source link

NVDA kept saying "clickable" when trying to read Dialog #4855

Open alancju opened 1 year ago

alancju commented 1 year ago

Description

When using NVDA to screen reader a Dialog's content, it kept saying "clickable"

Here's a video showing the issue https://vimeo.com/manage/videos/810847833 This test was executed on Vaadin's official website's Dialog page

Expected outcome

It shouldn't say "clickable"

Minimal reproducible example

https://vimeo.com/manage/videos/810847833

Steps to reproduce

Go to https://vaadin.com/docs/latest/components/dialog Use NVDA and try to read a dialog there

Environment

Vaadin version(s): 24 OS: Windows

Browsers

Edge

rolfsmeds commented 1 year ago

It seems that NVDA is very eager to announce elements as CLICKABLE if they have a click, mousedown or mouseup event handler (see https://github.com/nvaccess/nvda/issues/5830#issuecomment-199778283).

If this is the case, there is probably nothing we can do about it, unless there's a way to tell NVDA to stop doing that. One could even argue that it works as NVDA intended, and thus not a bug.