Skip to content

Commit

Permalink
Replaced unused class with govuk visually hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesstottmoj committed Aug 2, 2024
1 parent 7493201 commit 4d88e8c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion controlpanel/frontend/jinja2/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
<div class="govuk-warning-text">
<span class="govuk-warning-text__icon" aria-hidden="true">!</span>
<strong class="govuk-warning-text__text">
<span class="govuk-warning-text__assistive">Warning</span>
<span class="govuk-visually-hidden">Warning</span>
{% for message in broadcast_messages %}
{{ message }} <br/>
{% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion controlpanel/frontend/jinja2/datasource-detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1 class="govuk-heading-xl">{{ page_title }}</h1>
<div class="govuk-warning-text">
<span class="govuk-warning-text__icon" aria-hidden="true">!</span>
<strong class="govuk-warning-text__text">
<span class="govuk-warning-text__assistive">Warning</span>
<span class="govuk-visually-hidden">Warning</span>
This bucket was deleted by <a href="{{ url('manage-user', kwargs={ "pk": bucket.deleted_by.auth0_id }) }}">
{{ user_name(bucket.deleted_by) }}</a> on {{ bucket.deleted_at.strftime("%Y/%m/%d %H:%M:%S") }}.<br>
All access listed below has been revoked in IAM.
Expand Down
2 changes: 1 addition & 1 deletion controlpanel/frontend/jinja2/reset.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h1 class="govuk-heading-l">Home Directory Reset</h1>
<div class="govuk-warning-text">
<span class="govuk-warning-text__icon" aria-hidden="true">!</span>
<strong class="govuk-warning-text__text">
<span class="govuk-warning-text__assistive">Warning</span>
<span class="govuk-visually-hidden">Warning</span>
Please ensure you've copied any important files from your home
directory. Important files should be stored in S3 or GitHub.
</strong>
Expand Down

0 comments on commit 4d88e8c

Please sign in to comment.