Skip to content

Commit

Permalink
player play - pause button aria label toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
bonomite committed Apr 19, 2024
1 parent 9f2d847 commit 3b42667
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions v2/src/components/VNewPersistentPlayer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,7 @@ defineExpose({
ref="playButtonRef"
class="media-button flex-none z-1"
:data-disabled="isPlayable ? null : ''"
:aria-label="isPlaying ? 'pause button' : 'play button'"
>
<media-icon type="play" class="play-icon">
<slot v-if="!isPlayable" name="loading">
Expand Down

0 comments on commit 3b42667

Please sign in to comment.