mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-21 14:59:47 -04:00
Migrate govuk-visually-hidden to usa-sr-only in letter template
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
<div class="govuk-visually-hidden">
|
<div class="usa-sr-only">
|
||||||
<h3>
|
<h3>
|
||||||
Recipient address
|
Recipient address
|
||||||
</h3>
|
</h3>
|
||||||
|
|||||||
@@ -1200,7 +1200,7 @@ def test_letter_image_template_renders_visually_hidden_address():
|
|||||||
),
|
),
|
||||||
features="html.parser",
|
features="html.parser",
|
||||||
)
|
)
|
||||||
assert str(template.select_one(".govuk-visually-hidden ul")) == (
|
assert str(template.select_one(".usa-sr-only ul")) == (
|
||||||
"<ul>" "<li>line 1</li>" "<li>line 2</li>" "<li>postcode</li>" "</ul>"
|
"<ul>" "<li>line 1</li>" "<li>line 2</li>" "<li>postcode</li>" "</ul>"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user