SVG icon should be an id after all

This commit is contained in:
igorkorenfeld 2022-11-14 13:19:28 -05:00
parent 92a8a70c3c
commit edfba9e5bd
No known key found for this signature in database
GPG key ID: 826947A4B867F659

View file

@ -13,7 +13,7 @@
<li class="usa-sidenav__item step--locked">
{{ form_titles|get_item:this_step }}
<svg class="usa-icon" aria-labelledby="locked-step" role="img">
<title class="sidenav__locked-step">locked until previous steps have been completed </title>
<title id="locked-step__{{forloop.counter}}">locked until previous steps have been completed </title>
<use xlink:href="{%static 'img/sprite.svg'%}#lock"></use>
{% endif %}
</li>