Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revised English Translation of the Accessibility Statement #1765

Merged
merged 26 commits into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
7ba1bd0
completed english translation of Assessment statement
Caroline-Amanquah-HMCTS Jan 30, 2025
1b5a25f
revised english translation of the accessibility statement
Caroline-Amanquah-HMCTS Jan 31, 2025
429cbcd
revised english translation of the accessibility statement including …
Caroline-Amanquah-HMCTS Jan 31, 2025
2292c91
updated non compliance section
Caroline-Amanquah-HMCTS Feb 3, 2025
d3296f3
updated third party content section
Caroline-Amanquah-HMCTS Feb 3, 2025
5896577
updated nunjucks file
Caroline-Amanquah-HMCTS Feb 4, 2025
00256d3
updated Non-compliance with the accessibility regulations section
Caroline-Amanquah-HMCTS Feb 5, 2025
d4eeac4
corrected unit tests
Caroline-Amanquah-HMCTS Feb 6, 2025
7e519c2
Merge branch 'master' into feature/PRL-6915-accessibility-statement
Caroline-Amanquah-HMCTS Feb 6, 2025
5ad1524
updated accessibility statement link
Caroline-Amanquah-HMCTS Feb 6, 2025
93f0c50
updated accessibility statement link
Caroline-Amanquah-HMCTS Feb 6, 2025
5173377
updated welsh translation and test
Caroline-Amanquah-HMCTS Feb 6, 2025
6114330
welsh translation
Caroline-Amanquah-HMCTS Feb 6, 2025
92c908a
updated welsh translation section
Caroline-Amanquah-HMCTS Feb 7, 2025
c5d71a8
updated welsh translation section
Caroline-Amanquah-HMCTS Feb 7, 2025
cc3f4c5
corrected welsh translation section
Caroline-Amanquah-HMCTS Feb 7, 2025
d047101
updated accessibility statement page
Caroline-Amanquah-HMCTS Feb 10, 2025
5b31de7
updated accessibility statement page
Caroline-Amanquah-HMCTS Feb 10, 2025
172ecdc
updated accessibility statement page including english and welsh tran…
Caroline-Amanquah-HMCTS Feb 10, 2025
8ee02d8
updated accessibility statement page including english and welsh tran…
Caroline-Amanquah-HMCTS Feb 10, 2025
bdbd4ea
updated accessibility statement page including english and welsh tran…
Caroline-Amanquah-HMCTS Feb 10, 2025
d995ccb
updated accessibility statement page including english and welsh tran…
Caroline-Amanquah-HMCTS Feb 11, 2025
a95dcec
updated accessibility statement page including english and welsh tran…
Caroline-Amanquah-HMCTS Feb 11, 2025
c5772e3
updated accessibility statement including updated links and headings
Caroline-Amanquah-HMCTS Feb 11, 2025
2386ca4
testcase fix
sealDebolina Feb 11, 2025
a935fcd
Merge branch 'master' into feature/PRL-6915-accessibility-statement
sealDebolina Feb 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
110 changes: 61 additions & 49 deletions src/main/steps/accessibility-statement/content.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable import/namespace */
import languageAssertions from '../../../test/unit/utils/languageAssertions';
import { CommonContent, generatePageContent } from '../common/common.content';

Expand All @@ -8,93 +9,104 @@ jest.mock('../../app/form/validation');
const en = {
title: 'Accessibility statement for Family Private Law',
websiteAvailable:
'This accessibility statement applies to the website available at <a href="/" class="govuk-link" target="_blank">this link</a>, that enables users to make child arrangements or domestic abuse applications.',
'This accessibility statement applies to <a href="/" class="govuk-link" target="_blank">this link</a>, that enables users to make child arrangements or submit domestic abuse applications.',
Caroline-Amanquah-HMCTS marked this conversation as resolved.
Show resolved Hide resolved
websiteRanBy: 'The website is run by HM Courts & Tribunals Service (HMCTS).',
asManyAsPossible:
'We want as many people as possible to be able to use this website. For example, that means you should be able to:',
asManyAsPossibleColours: 'change colours, contrast levels and fonts',
asManyAsPossibleZoom: 'zoom in up to 300% without the text spilling off the screen',
asManyAsPossibleColours: 'change colours, contrast levels and fonts using browser or device settings',
asManyAsPossibleZoom: 'zoom in up to 400% without the text spilling off the screen',
asManyAsPossibleKeyboard: 'navigate most of the website using just a keyboard',
asManyAsPossibleSpeech: 'navigate most of the website using speech recognition software',
asManyAsPossibleListen:
'listen to most of the website using a screen reader (including the most recent versions of JAWS, NVDA and VoiceOver)',
'listen to most of the website using a screen reader (including the most recent versions of JAWS, NVDA and VoiceOver',
simpleAsPossible: 'We’ve also made the website text as simple as possible to understand.',
abilityNet:
'<a href="https://mcmw.abilitynet.org.uk" class="govuk-link" target="_blank" aria-label="This link will open in a new tab for AbilityNet">AbilityNet</a> has advice on making your device easier to use if you have a disability.',
'<a href="https://mcmw.abilitynet.org.uk" class="govuk-link" target="_blank">AbilityNet</a> has advice on making your device easier to use if you have a disability.',
howAccessible: 'How accessible this website is',
somePartsNot: 'We know some parts of this website are not fully accessible, for example:',
somePartsNotReflow: "some PDF documents aren't fully accessible to screen reader software",
somePartsNotSpacing: 'text to speech software cannot read all the text on every page',
somePartsNotFooter: 'the text used for hyperlinks does not always describe the destination and purpose of the link',
somePartsNotDescriptiveness: 'some heading labels are non-descriptive',
somePartsNotText: 'some content becomes obscured when resizing text',
somePartsNotPDF: "some PDF documents aren't fully accessible to screen reader software",
somePartsNotWelsh:
'a language attribute for some Welsh text is missing which will impact some text to speech software pronunciation',
somePartsNotError: 'error messages require improvement to convey suggestions on how to correct the error',
feedbackAndContactInformation: 'Feedback and contact information',
needMoreInformation:
'If you need information on this website in a different format like accessible PDF, large print, easy read, audio recording or braille:',
textRelayServiceInformation:
'We provide a text relay service for people who are d/Deaf, hearing impaired or have a speech impediment.',
audioInductionLoopsInformation:
'Our offices have audio induction loops, or if you contact us before your visit we can arrange a British Sign Language (BSL) interpreter.',
formatInformation:
'If you require support when visiting or need information on this website in a different format like accessible PDF, large print, easy read, audio recording or braille contact us at:',
emailInfo: 'Email: [email protected]',
phone: 'Telephone: 0300 323 0185',
email:
'Email: <a href="[email protected]" class="govuk-link" aria-label="This link will open in a new email to [email protected]">[email protected]</a>',
considerYourRequest: 'We’ll consider your request and get back to you in 10 working days.',
reportingAccessibility: 'Reporting accessibility problems with this website',
accessibilityPhoneNumber: 'Telephone: 0300 323 0185',
lookingToImprove: 'We’re always looking to improve the accessibility of this website.',
improveAccessibility:
'If you find any problems not listed on this page or think we’re not meeting accessibility requirements:',
accessibilityPhoneNumber: 'Telephone: 0300 323 0185',
enforcementProcedure: 'Enforcement procedure',
humanRightsCommission:
'The Equality and Human Rights Commission (EHRC) is responsible for enforcing the <a href="https://www.legislation.gov.uk/uksi/2018/852/contents/made" class="govuk-link" target="_blank" aria-label="This link will open a new tab for legislation.gov.uk">Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018 </a> (the ‘accessibility regulations’).',
notHappy:
'If you’re not happy with how we respond to your complaint, contact the <a href="https://www.equalityadvisoryservice.com/" class="govuk-link" target="_blank" aria-label="This link will open in a new tab for Equality Advisory and Support Service">Equality Advisory and Support Service (EASS)</a>.',
contactingUs: 'Contacting us by phone or visiting us in person',
contactTextRelay:
'We provide a text relay service for people who are D/deaf, hearing impaired or have a speech impediment.',
contactInductionLoops:
'Our offices have audio induction loops, or if you contact us before your visit we can arrange a British Sign Language (BSL) interpreter.',
contactCourtDirectly: 'To get in touch with us:',
'If you’re not happy with how we respond to your complaint, contact the <a href="https://www.equalityadvisoryservice.com/" class="govuk-link" target="_blank" aria-label="This link will open in a new tab for Equality Advisory and Support Service">contact the Equality Advisory and Support Service (EASS)</a>.',
technicalInfo: 'Technical information about this website’s accessibility',
partiallyCompliant:
'This website is partially compliant with the <a href="https://www.w3.org/TR/WCAG21/" class="govuk-link" target="blank">Web Content Accessibility Guidelines version 2.1</a> AA standard, due to the non-compliances listed below.',
hmctsIsCommitted:
'HMCTS is committed to making its website accessible, in accordance with the Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018.',
complianceStatus: 'Compliance status',
partiallyCompliant:
'This website is partially compliant with the <a href="https://www.w3.org/TR/WCAG21/" class="govuk-link" target="blank">Web Content Accessibility Guidelines version 2.2</a> AA standard, due to the non-compliances listed below.',
nonAccessibleContent: 'Non-accessible content',
nonAccessibleDescription: 'The content listed below is non-accessible for the following reasons.',
issuesWithDocuments: 'Non-compliance with the accessibility regulations',
issuesWithDocumentDescription1:
'Some pages do not have a logical heading structure in place, which is a barrier for users who rely on headings for navigation. This does not meet WCAG 2.1 success criterion 1.3.1 (Information and Relationships).',
'Heading labels are provided however they are non-descriptive.  This does not meet WCAG 2.2 success criterion 2.4.6 Headings and Labels (Level AA).',
issuesWithDocumentDescription2:
'Some content is presented to look like a table, but does not contain table mark-up. This does not meet WCAG 2.1 success criteria 1.3.1 (Information and Relationships) and 1.3.2 (Meaningful Sequence).',
'An autocomplete attribute has been supplied an invalid value for ‘property name or number’ which may cause issues for screen reader users.  This does not meet WCAG 2.2 success criterion 1.3.5 Identify Input Purpose (Level AA).',
issuesWithDocumentDescription3:
'Some links are ambiguous and non-descriptive, and do not describe the destination of the link. This does not meet WCAG 2.1. success criterion 2.4.9 (Link Purpose - Link Only).',
'Text was found to fail the minimum text contrast requirements within ‘draft’ marked PDF documents.  This does not meet WCAG 2.2 success criterion 1.4.3 Contrast (Minimum) (Level AA)',
issuesWithDocumentDescription4:
'Some lists are not structured to be compatible with screen readers and other assistive technology. This does not meet WCAG 2.1 success criteria 1.3.1 (Information and Relationships) and 4.1.1 (Parsing).',
'Content becomes obscured when resizing text on the page. This does not meet WCAG 2.2 success criterion 1.4.4 Resize text (Level AA).',
issuesWithDocumentDescription5:
'Some forms are difficult to navigate using a screen reader or keyboard commands. This does not meet WCAG 2.1 success criteria 1.3.1 (Information and Relationships) and 2.4.6 (Heading and Labels).',
'Some error messages do not convey suggestions on how to correct the errors.  This does not meet WCAG 2.2 success criterion 3.3.3 Error Suggestion (Level AA).',
issuesWithDocumentDescription6:
'PDFs are used to download and keep service receipts and copies of orders and directions, but are not structured to be accessible to a screen reader.  This does not meet WCAG 2.1 success criteria 1.3.1 (Information and Relationships), 1.1.1 (Non-text Content) and 2.3.2 (Page Titled).',
otherKnownIssues: 'Other known issues',
knownIssues1: 'On some pages, fields do not have associated labels that are accessible to a screen reader.',
knownIssues2:
'Some page elements are coded with duplicate IDs, which means that these elements can be missed by a screen reader.',
knownIssues3: 'Some visual labels do not function correctly for users who navigate pages with voice activation.',
knownIssues4:
"Users are not warned of a 'timeout' or given the option to extend their time when completing certain tasks.",
'A timeout feature is present however there is no way to adjust or cancel when the timeout occurs throughout the service. The lack of a prior warning may cause frustration and make it much more difficult for users who need additional time. This fails WCAG 2.2 success criterion 2.2.1 Timing Adjustable (Level A).',
issuesWithDocumentDescription7:
'A fieldset is used however no legend was included and in some cases is unnecessary. This can be confusing for screen reader users when navigating out of context. This fails WCAG 2.2 success criterion 1.3.1 Info and Relationships (Level A).',
issuesWithDocumentDescription8:
'Optional pages are not relayed as such for users navigating the service which means that some users may become stuck at this stage as they may feel forced to upload a document as nothing on the page informs users of the step being optional. This fails WCAG 2.2 success criterion 3.3.2 Labels or Instructions (Level A).',
issuesWithDocumentDescription9:
'Some labels may be present but not programmatically associated to the form element which means that assistive technology users will be presented with an unlabelled input. This fails WCAG 2.2 success criterion 1.3.1 Info and Relationships (Level A).',
issuesWithDocumentDescription10:
'Some form fields do not have a visible label present which means that assistive technology users do not get the necessary information conveyed to them. This fails WCAG 2.2 success criterion 3.3.2 Labels or Instructions (Level A).',
issuesWithDocumentDescription11:
'At least on page title was found to be non-descriptive which means that the page does not present its purpose which would normally be presented in heading level one. This fails WCAG 2.2 success criterion 2.4.2 Page Titled (Level A).',
issuesWithDocumentDescription12:
'At least one PDF document was found to be missing a title. This property is used by screen readers to informs these users of the document’s details. This fails WCAG 2.2 success criterion 2.4.2 Page Titled (Level A).',
issuesWithDocumentDescription13:
'At least on PDF document does not contain tags used to define elements on the page which can prevent assistive technology users to access the content within the PDF. This fails WCAG 2.2 success criterion 1.3.1 Info and Relationships (Level A).',
issuesWithDocumentDescription14:
'A non-interactive element receives focus when navigating via keyboard/screen reader software. This affects the navigation for keyboard and screen reader users where the section will receive the focus order when it is unneeded. This fails WCAG 2.2 success criterion 2.4.3 Focus Order (Level A).',
issuesWithDocumentDescription15:
'An input has a label that is not programmatically associated. This means that hint text that contains important information when inputting data has not been associated to the relevant inputs on the page. This fails WCAG 2.2 success criterion 1.3.1 Info and Relationships (Level A).',
issuesWithDocumentDescription16:
'Empty links may be encountered when navigating the service. This means that assistive technology users may experience unexpected functionality which may disorient these users.  This fails WCAG 2.2 success criterion 2.4.3 Focus Order (Level A).',
thirdPartyContent1: 'Content that’s not within the scope of the accessibility regulations',
thirdPartyContent2: 'Third party content that’s under someone else’s control',
thirdPartyContentDescription1:
'Pages and websites that are linked to and from the Family Private Law service may not be fully accessible. These include: ',
thirdPartyContentDescription2: 'External pages hosting PDF documents',
thirdPartyContentDescription3: 'The payment pages which have a separate accessibility statement',
toImproveAccessibility: 'What we’re doing to improve accessibility',
improveAccessibilityDescription:
'We are working to improve accessibility on this website, and plan to fix the identified issues by 30 November 2023.',
'We are working to improve accessibility on this website, and plan to fix the identified issues by 30 November 2025.',
preparationAccessibilityStatement: 'Preparation of this accessibility statement',
statementPreparationDate:
'This statement was prepared on Wednesday 4 January 2023. It was last reviewed on 17 January 2023.',
'This statement was prepared on Wednesday 4 January 2023. It was last reviewed on 24 January 2025.',
statementPreparationWebsite:
'This website was last tested on 25 November 2022. The test was carried out by the Digital Accessibility Centre (DAC).',
dacExcerpt: 'This is an excerpt from the DAC report explaining their methodology:',
dacTestingProcedure: 'Testing procedure:',
dacTestingProcedureDescription:
'“The service is tested by a team of experienced auditors and analysts, many of whom are disabled individuals and users of adaptive technology. The combination of subjective pan-disability user feedback and comprehensive technical auditing allows us to measure how the service performs technically and practically, thereby offering an essential added dimension to our test results that other methods of testing cannot provide.”',
dacTestingProcedure2: 'User testing:',
dacTestingProcedureDescription2:
'“Manual accessibility checking was conducted by a team of disabled individuals, using a range of adaptive technologies (hardware and software designed to facilitate the use of computers by people with disabilities).”',
dacTestingProcedure3: 'Technical auditing:',
dacTestingProcedureDescription3:
'“Technical auditing involves the experienced application of a number of technical auditing and standards compliance assessment tools. This combined with an extensive knowledge of WCAG, its application and wider global practice provides the DAC website with further credibility and quality.”',
contactHelp: 'Contact us for help:',
'This website was last tested by the Digital Accessibility Centre (DAC) on 31st July 2024 across a range of assistive technologies and with disabled users.',
statementReviewedFixes:
'Fixes were reviewed by the HMCTS accessibility testing team in the Testing Centre of Excellence.',
};

const cy = {
Expand Down
Loading