mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-15 07:18:58 -04:00
Test passed, good time to commit
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{% macro mapping_table(caption='', field_headings=[], field_headings_visible=True, caption_visible=True, equal_length=False) -%}
|
||||
<table class="table usa-table usa-table--borderless table-font-xsmall">
|
||||
<caption class="heading-medium table-heading{{ ' govuk-visually-hidden' if not caption_visible}}">
|
||||
<caption class="heading-medium table-heading{{ ' usa-sr-only' if not caption_visible}}">
|
||||
{{ caption }}
|
||||
</caption>
|
||||
<thead class="table-field-headings{% if field_headings_visible %}-visible{% endif %}">
|
||||
@@ -10,7 +10,7 @@
|
||||
{% if field_headings_visible %}
|
||||
{{ field_heading }}
|
||||
{% else %}
|
||||
<span class="govuk-visually-hidden">{{ field_heading }}</span>
|
||||
<span class="usa-sr-only">{{ field_heading }}</span>
|
||||
{% endif %}
|
||||
</th>
|
||||
{% endfor %}
|
||||
@@ -141,7 +141,7 @@
|
||||
{%- endmacro %}
|
||||
|
||||
{% macro hidden_field_heading(text) %}
|
||||
<span class="govuk-visually-hidden">{{ text }}</span>
|
||||
<span class="usa-sr-only">{{ text }}</span>
|
||||
{%- endmacro %}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user