Tune aria-live regions around clocks/timers (#7735)
This commit is contained in:
parent
4501308b47
commit
773c7f46b7
4 changed files with 11 additions and 6 deletions
|
@ -76,6 +76,9 @@ export default class PlaybackClock extends React.PureComponent<IProps, IState> {
|
|||
seconds = this.state.durationSeconds;
|
||||
}
|
||||
}
|
||||
return <Clock seconds={seconds} />;
|
||||
return <Clock
|
||||
seconds={seconds}
|
||||
aria-live={this.state.playbackPhase === PlaybackState.Playing ? "off" : undefined}
|
||||
/>;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue