You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 2, 2024. It is now read-only.
Is your feature request related to a problem? Please describe.
Currently the days of the week aren't announced by a screen reader when navigating the calendar. The <table> structure is correct, so presumably this is due to the use of grid + gridcell roles. Whatever the cause, the result is that screen reader users don't know what day of the week their currently-focused date is.
Describe the solution you'd like
Simplest solution would be to append or prepend the day of the week to the hidden text in each button, i.e.:
This could be done with Date.toLocaleDateString() to support internationalization.
Describe alternatives you've considered
The only alternative I can think of would be to drop the use of grid and just use a plain table, but this doesn't seem like a good solution—it would mean sighted keyboard users would be forced to TAB through the calendar instead of using arrow keys.
Additional context
Tested with JAWS, NVDA and MacOS Voiceover.
Is your feature request related to a problem? Please describe.
Currently the days of the week aren't announced by a screen reader when navigating the calendar. The
<table>structure is correct, so presumably this is due to the use ofgrid+gridcellroles. Whatever the cause, the result is that screen reader users don't know what day of the week their currently-focused date is.Describe the solution you'd like
Simplest solution would be to append or prepend the day of the week to the hidden text in each
button, i.e.:This could be done with
Date.toLocaleDateString()to support internationalization.Describe alternatives you've considered
The only alternative I can think of would be to drop the use of
gridand just use a plaintable, but this doesn't seem like a good solution—it would mean sighted keyboard users would be forced to TAB through the calendar instead of using arrow keys.Additional context
Tested with JAWS, NVDA and MacOS Voiceover.