diff --git a/_layouts/default.html b/_layouts/default.html index 1d41a7115a90ff3a234df067ec502dbbf7bef426..3238266d16d8db255ddfd9e7db9308d834933848 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -101,7 +101,7 @@ layout: table_wrappers {% endunless %} <div id="main-content" class="main-content" role="main"> {% if site.heading_anchors != false %} - {% include vendor/anchor_headings.html html=content beforeHeading="true" anchorBody="<svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><use xlink:href=\"#svg-link\"></use></svg>" anchorClass="anchor-heading" %} + {% include vendor/anchor_headings.html html=content beforeHeading="true" anchorBody="<svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><use xlink:href=\"#svg-link\"></use></svg>" anchorClass="anchor-heading" anchorAttrs="aria-labelledby=\"%html_id%\"" %} {% else %} {{ content }} {% endif %}