🐛 Add headings, label lists, remove aria-labels for a11y (#109)

Co-authored-by: Tatiana Mac <github@tatianamac.com>
This commit is contained in:
Sarah Higley
2020-05-01 19:12:17 -07:00
committed by GitHub
parent beb2f5db69
commit 48ebe70b99
5 changed files with 10 additions and 7 deletions

View File

@ -7,7 +7,7 @@
<span class="flag__red">{{ definition.data.flag.text }}</span>
{% endif %}
{%- if definition.data.sub_terms -%}
<ul class="sub-terms">
<ul class="sub-terms" role="list" aria-label="{{definition.data.title}}">
{% for term in definition.data.sub_terms %}
<li
class="subterm"