web-components icon indicating copy to clipboard operation
web-components copied to clipboard

Grid cell should tell more about its content on focus

Open AndreasSamjeske opened this issue 1 year ago • 2 comments

What is the problem?

If you focus a grid cell with a link or a button, NVDA tells you about the cells text content. But NVDA doesn't tell you if there is ab link or a button, you may activate. In fact, depending on the cell structure, SPACE activates certain elements. NVDA should tell you, what happens on pressing SPACE.

Browsers

  • [X] Chrome
  • [X] Firefox
  • [ ] Safari
  • [ ] Safari on iOS
  • [X] Edge

Screen Readers

  • [ ] None
  • [X] NVDA
  • [ ] JAWS
  • [ ] VoiceOver on MacOS
  • [ ] VoiceOver on iOS

AndreasSamjeske avatar Mar 17 '24 18:03 AndreasSamjeske

The same issue surfaces on when Grid is in multiselect mode. Checkbox components have aria-label="Select row" but that is not announced when cell is focused or checkbox is triggered from cell level.

Ideally some identifying information could be passed to dynamic aria-labels. For example "Select row: John Doe", "Delete: John Doe".

juuso-vaadin avatar Jul 04 '24 09:07 juuso-vaadin

The same issue surfaces on when Grid is in multiselect mode. Checkbox components have aria-label="Select row" but that is not announced when cell is focused or checkbox is triggered from cell level.

Ideally some identifying information could be passed to dynamic aria-labels. For example "Select row: John Doe", "Delete: John Doe".

I think this issue is not the right one for your comment. Take a look at #3471. My comment is about those aria-labels and what NVDA is telling you.

AndreasSamjeske avatar Jul 10 '24 13:07 AndreasSamjeske