From 2b9874cfac02bbcd557f2490fb2ab8db6221c439 Mon Sep 17 00:00:00 2001 From: Tyler Wilcock Date: Fri, 11 Jun 2021 11:58:05 -0500 Subject: [PATCH] Improve acessibility (#15) * Increase text contrast in syntax highlighting. * aria-label our footer to inform screen readers what the section of links contains * Add lang="en" to our element, reasoning below (copy-pasted from Google Lighthouse): If a page doesn't specify a lang attribute, a screen reader assumes that the page is in the default language that the user chose when setting up the screen reader. If the page isn't actually in the default language, then the screen reader might not announce the page's text correctly. --- .gitignore | 1 + _includes/footer.html | 2 +- _includes/git-info.html | 2 +- _layouts/default.html | 2 +- _sass/_syntax-highlighting.scss | 32 ++++++++++++++++---------------- 5 files changed, 20 insertions(+), 19 deletions(-) diff --git a/.gitignore b/.gitignore index 45e8ddf..011474d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ _site .sass-cache .jekyll-metadata .DS_Store +.idea/** diff --git a/_includes/footer.html b/_includes/footer.html index b8ea5c7..f510d49 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -12,7 +12,7 @@
-