date-picker
date-picker copied to clipboard
Excessive announcements in screen readers
Is your feature request related to a problem? Please describe. The date picker dialog announces the month and year frequently in screen readers.
- On opening of the dialog, because
div.duet-date__dialog
isaria-labelledby
thearia-live
H2 - On change of either the month or date using the select inputs or previous/next buttons
- On entering the table, because
table.duet-date__table
isaria-labelledby
thearia-live
H2
Describe the solution you'd like
- replace aria-labelledby on
div.duet-date__dialog
witharia-label="Date picker"
to provide context for the feature. - leave the
aria-live
H2 as is, since it provides useful updates - remove the
aria-labelledby
fromtable.duet-date__table