va-date has inaccurate aria-labels that are confusing to screen reader users #3569
Open
2 of 6 tasks
Labels
accessibility
Any Section 508 or accessibility issue
bug
Something isn't working
platform-design-system-team
va-date
DS Date component
Bug Report
What happened
For
<va-date>
:<select>
has anaria-label
- "Please enter two digits for the month"<select>
has anaria-label
- "Please enter two digits for the day"These
aria-labels
are inaccurate - a user needs to select the month or day via dropdown, either by using their mouse to scroll, keyboard to scroll, or type in the first character of the option they want to select.Using JAWS, a screen reader user hears the name of the field, then the
aria-label
. They are told incorrect instructions.What I expected to happen
A screen reader user expects to hear the name of the field ("Month") and the type of field it is, which happens automatically by using a semantic
<select>
. You likely don't need anaria-label
here at all.Reproducing
Steps to reproduce:
Urgency
How urgent is this request? Please select the appropriate option below and/or provide details
Details
This isn't blocking anyone's work, but is an issue for screen reader users.
The text was updated successfully, but these errors were encountered: