Skip to content

Commit

Permalink
added aria-live to date range label
Browse files Browse the repository at this point in the history
we definitely want to announce changes to the label when prev / next week are selected
  • Loading branch information
SalazarJosh committed Jan 31, 2025
1 parent 03b9806 commit a778384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/panels/hours-panel-date-viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ const HoursPanelNextPrev = ({ toggleCalendarVisibility, isCalendarVisible }) =>
level={2}
size='S'
>
<span className='visually-hidden'>
<span className='visually-hidden' aria-live='polite'>
{hoursRange.label}
</span>
<span aria-hidden>
Expand Down

0 comments on commit a778384

Please sign in to comment.