Skip to content

Commit 9676f57

Browse files
authored
Merge pull request #244 from nhsuk/fix/warning-callout-important
screenreaders should pick up important if the title HAS been changed
2 parents ace8438 + bba74eb commit 9676f57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wagtailnhsukfrontend/templates/wagtailnhsukfrontend/warning_callout.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<div class="nhsuk-warning-callout">
44
<h{{ heading_level }} class="nhsuk-warning-callout__label" {% add_extra_parameters "title" %}>
5-
{% if title == "Important" %}
5+
{% if title != "Important" %}
66
<span role="text">
77
<span class="nhsuk-u-visually-hidden">Important: </span>
88
{{ title }}

0 commit comments

Comments
 (0)