You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The aria-pressed property on some control buttons maybe cause confusion.
For example, click the play button,, the label of the button changed to "pause", and the aria-pressed="true".
Here, the screen reader will read out " pause button pressed".
The "pressed" property means the button's status is pressed, and means the player is paused. But, the player is playing now.
So, if you want to keep the pressed state,the content of the label cannot be changed.
Alternatively, I think the attributes that have been pressed are unnecessary and can be deleted directly.
Because the text of the button has changed with the state, this is enough to demonstrate the functionality of the button.
The text was updated successfully, but these errors were encountered:
The aria-pressed property on some control buttons maybe cause confusion.
For example, click the play button,, the label of the button changed to "pause", and the aria-pressed="true".
Here, the screen reader will read out " pause button pressed".
The "pressed" property means the button's status is pressed, and means the player is paused. But, the player is playing now.
So, if you want to keep the pressed state,the content of the label cannot be changed.
Alternatively, I think the attributes that have been pressed are unnecessary and can be deleted directly.
Because the text of the button has changed with the state, this is enough to demonstrate the functionality of the button.
The text was updated successfully, but these errors were encountered: