[EuiDatePicker][COGNITION]: Consider adding screen reader only text to the calendar day labels #5937
Labels
accessibility - cognition
accessibility - screen reader
accessibility - WCAG A
Level A WCAG Accessibility Criteria
accessibility
low hanging fruit
An issue, often a bug, that is lower effort and clearly ought to be fixed
Description
Our
EuiDatePicker
component ( https://eui.elastic.co/#/forms/date-picker ) uses two-letter short labels for days of the week in the calendar. These short labels do not convey the information accurately to screen readers. I'm proposing we add anEuiScreenreader
to these labels so screen reader users hear "Sunday", "Monday", etc.Screenshot and code sample below.
Proposed code update
Guidance
The text was updated successfully, but these errors were encountered: