Fix:Audio player buttons to use button el and add aria-label translations #2599

This commit is contained in:
advplyr 2024-02-14 18:28:19 -06:00
parent 44135b3fed
commit 04d16fc535
21 changed files with 127 additions and 26 deletions

View file

@ -29,7 +29,7 @@
</div>
<div class="flex-grow" />
<ui-tooltip direction="top" :text="$strings.LabelClosePlayer">
<span class="material-icons sm:px-2 py-1 md:p-4 cursor-pointer text-xl sm:text-2xl" @click="closePlayer">close</span>
<button :aria-label="$strings.LabelClosePlayer" class="material-icons sm:px-2 py-1 md:p-4 cursor-pointer text-xl sm:text-2xl" @click="closePlayer">close</button>
</ui-tooltip>
</div>
<player-ui