Skip to content

Commit

Permalink
Small cleanup; fix aria label bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zackkrida committed Aug 21, 2021
1 parent b993f1f commit 85d6075
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/components/AudioTrack/AudioTrack.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{{ audio.category }}
</div>

<div class="flex flex-row gap-2">
<div class="interactive-section flex flex-row gap-2">
<PlayPause
v-if="isCompact"
class="flex-shrink-0"
Expand All @@ -26,7 +26,6 @@
@toggle="setPlayerState"
/>
<div
class="waveform-section"
@keypress.enter="setPlayerState(!isPlaying)"
@keypress.space="setPlayerState(!isPlaying)"
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/AudioTrack/Waveform.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
class="waveform relative bg-dark-charcoal-04 overflow-x-hidden"
tabIndex="0"
role="slider"
aria-label="$t('waveform.label')"
:aria-label="$t('waveform.label')"
aria-orientation="horizontal"
aria-valuemin="0"
:aria-valuemax="duration"
Expand Down

0 comments on commit 85d6075

Please sign in to comment.