Skip to content

Commit

Permalink
Move nested <ul> inside <li> in specific product sidebar
Browse files Browse the repository at this point in the history
<ul> and <ol> must only directly contain <li>, <script> or <template> elements

https://dequeuniversity.com/rules/axe/4.1/list
  • Loading branch information
barrymcgee committed Jan 8, 2021
1 parent 08ac2a2 commit 3b4232f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions includes/sidebar-specific-product.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<a href="{{product.href}}" class="pl-4 pr-5 pb-1 f4">{{ product.title }}</a>
{% endunless %}
</li>
<li>
<ul class="sidebar-categories list-style-none">
{% for category in product.categories %}
{% capture fullPathToCategory %}{{category[1].href}}{% endcapture %}
Expand Down Expand Up @@ -74,3 +75,4 @@
</li>
{% endfor %}
</ul>
</li>

0 comments on commit 3b4232f

Please sign in to comment.