Altinn / app-frontend-react

Altinn application React frontend
BSD 3-Clause "New" or "Revised" License
18 stars 31 forks source link

Weird behaviour using screen readers on our table grid #1927

Open Febakke opened 8 months ago

Febakke commented 8 months ago

Description of the bug

We got in a report on some weird behavior on our grid component when using screen reader. (Tested with VoiceOver on multiple browsers)

Chrome

Form mode (tabbing) Seems correct

Skjermbilde 2024-03-13 kl  16 11 45

Element to element (control-option-arrows) Goes wild with column header and reads it out 4 times total.

Skjermbilde 2024-03-13 kl  16 11 59

Also true when just reading the heading

Skjermbilde 2024-03-13 kl  16 12 27

Firefox

Form mode (tabbing) Reads out headers correct

Skjermbilde 2024-03-13 kl  16 05 26

Element to element (control-option-arrows) Reads the column header twice

Skjermbilde 2024-03-13 kl  16 05 16

Edge

Form mode (tabbing) Seems correct

Skjermbilde 2024-03-13 kl  16 08 19

Element to element (control-option-arrows) Goes bananas with the column headers. This is also true when just reading the column header.

Skjermbilde 2024-03-13 kl  16 08 05

Steps To Reproduce

  1. Go to a form with a table
  2. Try to read it going element to element

Additional Information

Seems like VOiceOver reading double headers is a known issue in Chrome. But we should still try to avvoid it being read 4 times!

tvs-brreg commented 8 months ago

I have identical results using NVDA on Windows

adamhaeger commented 1 month ago

Tested today on chrome and firefox, could not reproduce.

@Febakke and @tvs-brreg could you please test again on the same app running the latest version of frontend and backend, and report if the bug is still present?