TimeRangePicker: Announce to screen reader when time range is updated (#87692)
Add aria live to TimeRangePicker
This commit is contained in:
@@ -235,7 +235,7 @@ export const TimePickerButtonLabel = memo<LabelProps>(({ hideText, value, timeZo
|
||||
}
|
||||
|
||||
return (
|
||||
<span className={styles.container}>
|
||||
<span className={styles.container} aria-live="polite" aria-atomic="true">
|
||||
<span>{formattedRange(value, timeZone)}</span>
|
||||
<span className={styles.utc}>{rangeUtil.describeTimeRangeAbbreviation(value, timeZone)}</span>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user