WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Lack of NVDA support on grids

for

From: glen walker
Date: Dec 28, 2022 12:40PM


If you inspect the javascript for the example and then inspect the html as
you run the example, you'll see that the focus is set on table cell
elements (td) for the plain text columns but is set on the actual link
(rather than the table cell) for the third column. By forcing the focus to
the link, NVDA might be thinking the focus left the grid and needs to
switch modes. I see that JAWS does not do that.

There are some roles that cause a screen reader to switch modes when that
element receives focus, and when focus moves off that element, the mode
usually switches back. You can see the list of roles here, with grid being
one of them:

https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#x6-1-fundamental-keyboard-navigation-conventions

It was easy enough for me to press Insert+Space to toggle the mode in NVDA
so that I could still arrow left or right off the link, but that could be
confusing. I'm not sure you should try to code/hack around it. It'd be
better to address the issue with NVDA directly,
https://github.com/nvaccess/nvda/issues