Skip to content

Commit

Permalink
improve aria label
Browse files Browse the repository at this point in the history
  • Loading branch information
sushmi21 committed Aug 1, 2024
1 parent 9bb29d3 commit f0e18fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/messages/Audio/Controls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const Controls: FC<ControlsProps> = props => {
<button
className={classes.playButton}
onClick={togglePlayAndPause}
aria-label={playing ? "Pause" : "Play"}
aria-label={playing ? "Pause audio" : "Play audio"}
>
{playing ? <AudioPause /> : <AudioPlay />}
</button>
Expand Down

0 comments on commit f0e18fc

Please sign in to comment.