From cffe2f1b29377f6d953d33a642a8f09be88209cf Mon Sep 17 00:00:00 2001 From: Joel Hawksley Date: Wed, 31 May 2023 14:35:56 -0600 Subject: [PATCH] Add ARIA roles and labels to search, header, logo, mobile menu button, and main content (#1259) This PR fixes several Axe errors I found while working on https://viewcomponent.org/. I did not see any visual regressions on my deploy, but I'd encourage testing with other sites. --------- Co-authored-by: Lindsey Wild <35239154+lindseywild@users.noreply.github.com> --- _includes/components/search_header.html | 2 +- _includes/components/sidebar.html | 6 +++--- _includes/title.html | 2 +- _layouts/default.html | 22 +++++++++++----------- _sass/layout.scss | 7 +++++++ 5 files changed, 23 insertions(+), 16 deletions(-) diff --git a/_includes/components/search_header.html b/_includes/components/search_header.html index 98425d5..3562124 100644 --- a/_includes/components/search_header.html +++ b/_includes/components/search_header.html @@ -1,6 +1,6 @@ {% capture search_placeholder %}{% include search_placeholder_custom.html %}{% endcapture %} -