date-picker icon indicating copy to clipboard operation
date-picker copied to clipboard

Excessive announcements in screen readers

Open jonnystening opened this issue 3 years ago • 0 comments

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 is aria-labelledby the aria-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 is aria-labelledby the aria-live H2

Describe the solution you'd like

  • replace aria-labelledby on div.duet-date__dialog with aria-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 from table.duet-date__table

jonnystening avatar Aug 08 '21 04:08 jonnystening