FreedomScientific / standards-support

Contains documentation for Vispero software support of Web standards
https://freedomscientific.github.io/standards-support/
GNU General Public License v3.0
110 stars 12 forks source link

Position and set size not narrated for gridcell with tabindex on row in treegrid with Google Chrome #786

Open adamsamec opened 10 months ago

adamsamec commented 10 months ago

Summary

With Google Chrome, if keyboard focus is moved to an element with the role="gridcell" attribute, the position and set size ("X of Y") for the grid cell is narrated by JAWS only in case its parent element with the role="row" attribute has the tabindex attribute set (the tabindex can be se to an arbitrary value, but must be pressent for this bug to be fixed).

Note that Mozilla Firefox narrates the position and set size correctly, no matter whehter the tabindex attribute is pressent on the parent row or not.

Steps to reproduce

  1. Turn on JAWS.
  2. Visit this tree grids example in Google Chrome.
  3. Using the Tab key, navigate to the first mail inbox example tree grid element located under the "With tabindex on row (variant A)" heading.
  4. Using the Down or Up arrow key, navigate by rows in the tree grid, and observe the narration while navigating from one row to another.
  5. Using the Tab key, navigate to the second mail inbox example tree grid element located under the "Without tabindex on row (variant B)" heading.
  6. Using the Down or Up arrow key, navigate by rows in the tree grid, and observe the narration while navigating from one row to another.

Expected result

The position and set size ("X of Y") should be always narrated when an element with the role="gridcell" attribute is focused, inheriting the position and set size data from the parent role="row" element, no matter whether the role="row" element has the tabindex attribute present.

Actual result

In the second example (Variant B), when nnavigating in the tree grid with the Down or Up arrow key, JAWS narrates the row and colun coordinates, but not the position of the row and the set size relative to the current tree level. Compare this with the example A, where JAWS narrates the position and set size correctly, e.g. "2 of 3".

Example

Tree grids example.

Additional Information

JAWS version and build number

JAWS 2023.2307.37.

Operating System and version

Windows 11, version 21H2 (OS Build 22621.2715)

Browser and version:

Google Chrome, version 119.0.6045.160.