diff --git a/docs/.pa11y-ci.js b/docs/.pa11y-ci.js index 31c08e9..24fd654 100644 --- a/docs/.pa11y-ci.js +++ b/docs/.pa11y-ci.js @@ -8,7 +8,10 @@ function getUrlsFromSiteMap() { const sitemap = new XMLParser().parse(file); - return sitemap.urlset.url.map(r => r.loc); + // Filter out PDF files from accessibility testing + return sitemap.urlset.url + .map(r => r.loc) + .filter(url => !url.endsWith('.pdf')); } module.exports = { diff --git a/docs/pages/using-nhs-notify/upload-a-letter.md b/docs/pages/using-nhs-notify/upload-a-letter.md index 9090e6d..f40088a 100644 --- a/docs/pages/using-nhs-notify/upload-a-letter.md +++ b/docs/pages/using-nhs-notify/upload-a-letter.md @@ -191,7 +191,7 @@ The address is a personalisation field and is set automatically. The recipient's name is always included as the first line of the address. -If your letter is about a child, use the [parent or guardian letter template](#download-our-blank-letter-template). This template includes 'Parent or guardian of' in the first line of the address. +If your letter is about a child, use the [parent or guardian letter template](#download-a-blank-word-letter-template). This template includes 'Parent or guardian of' in the first line of the address. ### NHS logo