We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f612183 + 1adae95 commit 23f8e68Copy full SHA for 23f8e68
lib/govuk_tech_docs/warning_text_extension.rb
@@ -10,7 +10,7 @@ def warning_text(text)
10
<div class="govuk-warning-text">
11
<span class="govuk-warning-text__icon" aria-hidden="true">!</span>
12
<strong class="govuk-warning-text__text">
13
- <span class="govuk-warning-text__assistive">Warning</span>
+ <span class="govuk-visually-hidden">Warning</span>
14
#{text}
15
</strong>
16
</div>
0 commit comments