From 8e86f544cc04c35be9f990a201537501a3e60978 Mon Sep 17 00:00:00 2001 From: Patrick Smyth Date: Mon, 2 Oct 2023 20:41:46 -0400 Subject: [PATCH] Changed aria label in main nav to resolve redundancy (#256) * Changed aria label to resolve redundancy The main navigation had an aria label that said main navigation. However, because it is a nav element, this results in hearing the word "navigation" twice with a screen reader. Changed "main navigation" to "main" to resolve this. Signed-off-by: Patrick Smyth * Used primary/secondary aria labels for nav Signed-off-by: Patrick Smyth * Removed "naviation" from label for tertiary nav Signed-off-by: Patrick Smyth * Removed aria label "main navigation" Signed-off-by: Patrick Smyth * Changed secondary nav to secondary in docs menu Signed-off-by: Patrick Smyth --------- Signed-off-by: Patrick Smyth --- layouts/docs/single.html | 4 ++-- layouts/partials/header/header.html | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/layouts/docs/single.html b/layouts/docs/single.html index 3f88e716..a163000a 100644 --- a/layouts/docs/single.html +++ b/layouts/docs/single.html @@ -1,12 +1,12 @@ {{ define "main" }}
-
{{ if ne .Params.toc false -}} -