Skip to content

Commit 705732b

Browse files
authored
CCM-5769: fix alt text (#41)
* CCM-5769: fix alt text * CCM-5769: update accessibility alerts
1 parent 4d014d5 commit 705732b

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

docs/.pa11y-ci.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,13 @@ module.exports = {
2626
chromeLaunchConfig: {
2727
args: ['--no-sandbox']
2828
},
29+
rules: [
30+
'Principle1.Guideline1_3.1_3_1_AAA',
31+
],
2932
useIncognitoBrowserContext: false,
3033
standard: 'WCAG2AA',
3134
userAgent: 'pa11y-ci',
35+
concurrency: 8,
3236
},
3337
urls: getUrlsFromSiteMap()
3438
};;

docs/_data/home/heading.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ description: |
33
You can use NHS Notify if you work in NHS England and support direct care.
44
image: landing-main-image.svg
55
image_alt: |
6-
A graphic representation of NHS Notify's message channels:
7-
NHS App messages, emails, text messages and letters.
6+
A graphic representation of NHS Notify's message channels: NHS App, email, text message and letter.

docs/_data/home/how-it-works.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@
2424
description: |
2525
Track how many messages you've sent and find out which ones are not being delivered.
2626
image: 4-see-message-performance.svg
27-
image_alt: Track how many messages you've sent and find out which ones are not being delivered.
27+
image_alt: A screenshot of NHS Notify showing counts of NHS App messages and text messages that have been sent.

docs/_layouts/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
</div>
4949
<div class="nhsnotify-pane__main-content nhsuk-grid-column-three-quarters">
5050
{% if page.section != undefined %}
51-
<p class="nhsuk-heading-s" style="margin-bottom: 0; color: #4c6272">{{ page.section }}</p>
51+
<heading class="nhsuk-heading-s" style="margin-bottom: 0; color: #4c6272">{{ page.section }}</heading>
5252
{% endif %}
5353
<h1>{{ page.title }}</h1>
5454
{{ content }}

0 commit comments

Comments
 (0)