Skip to content

Commit

Permalink
Adding sr-only contextual content
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanbobel committed Dec 11, 2024
1 parent e1e0a4d commit 649f3ee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/templates/components/folder-path.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
<span class="folder-heading-folder">{{ folder.name }}</span>
{% endif %}
{% else %}
<a href="{{ url_for('.choose_template', service_id=service_id, template_type=template_type) }}" class="usa-link {% if loop.length > 2 %}folder-heading-folder-root-truncated{% endif %}">Templates</a>
<a href="{{ url_for('.choose_template', service_id=service_id, template_type=template_type) }}" class="usa-link {% if loop.length > 2 %}folder-heading-folder-root-truncated{% endif %}">
<span class="usa-sr-only">Return to all</span>
Templates
</a>
{% endif %}
{% if not loop.last %}{{ folder_path_separator() }}{% endif %}
{% endif %}
Expand Down

0 comments on commit 649f3ee

Please sign in to comment.