Add accessible name label for Progress component
Fixes the error: One of aria-label or aria-labelledby properties should be passed when using the progress component without a title.
This commit is contained in:
parent
7c75596330
commit
e151c9ee8f
1 changed files with 1 additions and 0 deletions
|
|
@ -1273,6 +1273,7 @@ export class Player extends React.Component {
|
||||||
label={timeStr}
|
label={timeStr}
|
||||||
value={this.state.curTS}
|
value={this.state.curTS}
|
||||||
onClick={this.handleProgressClick}
|
onClick={this.handleProgressClick}
|
||||||
|
aria-label="Player Progress"
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue