From 62f15c17ac234bc5bb25ca68361aa05d645f48de Mon Sep 17 00:00:00 2001 From: Sam Saccone Date: Tue, 23 Jun 2020 13:20:52 -0700 Subject: [PATCH] [a11y] Make anchor tag tutorial nav accessible (#5055) Since the anchor tags only contain svg icons it makes these navigational elements not accessible by screen readers. > aria-label. Providing a descriptive text label lets a user distinguish the link from links in the Web page that lead to other destinations and helps the user determine whether to follow the link. In some assistive technologies the aria-label value will show in the list of links instead of the actual link text. https://www.w3.org/WAI/GL/wiki/Using_aria-label_for_link_purpose --- site/src/routes/tutorial/[slug]/_TableOfContents.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/src/routes/tutorial/[slug]/_TableOfContents.svelte b/site/src/routes/tutorial/[slug]/_TableOfContents.svelte index 7b0d4b5de0..97a298bcca 100644 --- a/site/src/routes/tutorial/[slug]/_TableOfContents.svelte +++ b/site/src/routes/tutorial/[slug]/_TableOfContents.svelte @@ -64,7 +64,7 @@