Adding sr-only contextual content

This commit is contained in:
Jonathan Bobel
2024-12-11 11:31:24 -05:00
parent e1e0a4dca0
commit 649f3ee3ad

View File

@@ -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 %}