From 48ebe70b991df1c2f3dcad5325d150ed0e3dd358 Mon Sep 17 00:00:00 2001 From: Sarah Higley Date: Fri, 1 May 2020 19:12:17 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Add=20headings,=20label=20lists,?= =?UTF-8?q?=20remove=20aria-labels=20for=20a11y=20(#109)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tatiana Mac --- .eleventy.js | 4 ++-- 11ty/_includes/components/table-of-content-item.njk | 2 +- 11ty/_includes/components/table-of-content.njk | 7 ++++--- 11ty/index.njk | 2 +- assets/css/base/_typography.scss | 2 ++ 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index 3eabd905..25f8c61f 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -27,10 +27,10 @@ module.exports = function(config) { if (existingDefinition) { return `${subTermData.text}`; + )}">${subTermData.text}`; } - return `${subTermData.text}`; + return `${subTermData.text}`; }); // just a debug filter to lazily inspect the content of anything in a template diff --git a/11ty/_includes/components/table-of-content-item.njk b/11ty/_includes/components/table-of-content-item.njk index 6359c1e6..f9136784 100644 --- a/11ty/_includes/components/table-of-content-item.njk +++ b/11ty/_includes/components/table-of-content-item.njk @@ -7,7 +7,7 @@ {{ definition.data.flag.text }} {% endif %} {%- if definition.data.sub_terms -%} -