Skip to content

Commit

Permalink
CCM-5769: fix alt text (#41)
Browse files Browse the repository at this point in the history
* CCM-5769: fix alt text

* CCM-5769: update accessibility alerts
  • Loading branch information
bhansell1 authored Jul 12, 2024
1 parent 4d014d5 commit 705732b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions docs/.pa11y-ci.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,13 @@ module.exports = {
chromeLaunchConfig: {
args: ['--no-sandbox']
},
rules: [
'Principle1.Guideline1_3.1_3_1_AAA',
],
useIncognitoBrowserContext: false,
standard: 'WCAG2AA',
userAgent: 'pa11y-ci',
concurrency: 8,
},
urls: getUrlsFromSiteMap()
};;
3 changes: 1 addition & 2 deletions docs/_data/home/heading.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ description: |
You can use NHS Notify if you work in NHS England and support direct care.
image: landing-main-image.svg
image_alt: |
A graphic representation of NHS Notify's message channels:
NHS App messages, emails, text messages and letters.
A graphic representation of NHS Notify's message channels: NHS App, email, text message and letter.
2 changes: 1 addition & 1 deletion docs/_data/home/how-it-works.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
description: |
Track how many messages you've sent and find out which ones are not being delivered.
image: 4-see-message-performance.svg
image_alt: Track how many messages you've sent and find out which ones are not being delivered.
image_alt: A screenshot of NHS Notify showing counts of NHS App messages and text messages that have been sent.
2 changes: 1 addition & 1 deletion docs/_layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
</div>
<div class="nhsnotify-pane__main-content nhsuk-grid-column-three-quarters">
{% if page.section != undefined %}
<p class="nhsuk-heading-s" style="margin-bottom: 0; color: #4c6272">{{ page.section }}</p>
<heading class="nhsuk-heading-s" style="margin-bottom: 0; color: #4c6272">{{ page.section }}</heading>
{% endif %}
<h1>{{ page.title }}</h1>
{{ content }}
Expand Down

0 comments on commit 705732b

Please sign in to comment.