From 5444145eca61ec08b35c5e6bc9b21b036e3bac85 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Wed, 6 Jun 2018 07:20:33 +0900 Subject: [PATCH] Improved accessibility --- layout/sidebar/audioplayer.pixy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layout/sidebar/audioplayer.pixy b/layout/sidebar/audioplayer.pixy index 50e6d84f..3b65819f 100644 --- a/layout/sidebar/audioplayer.pixy +++ b/layout/sidebar/audioplayer.pixy @@ -1,10 +1,10 @@ component AudioPlayer #audio-player #audio-player-anime-info.hidden - a#audio-player-anime-link(href="", title="") + a#audio-player-anime-link(href="", title="", aria-label="Anime image") img#audio-player-anime-image.lazy.hidden(data-src="", data-webp="true", alt="Anime cover") - a#audio-player-track-title(href="") + a#audio-player-track-title(href="", aria-label="Track title") #audio-player-controls button#audio-player-prev.audio-player-side-button.action(data-action="playPreviousTrack", data-trigger="click", aria-label="Previous track") @@ -20,4 +20,4 @@ component AudioPlayer button#audio-player-next.audio-player-side-button.action(data-action="playNextTrack", data-trigger="click", aria-label="Next track") RawIcon("step-forward") - input#audio-player-volume.action(data-action="setVolume", data-trigger="input", type="range", min="0", max="100", value="50") \ No newline at end of file + input#audio-player-volume.action(data-action="setVolume", data-trigger="input", type="range", min="0", max="100", value="50", aria-label="Change volume") \ No newline at end of file