Skip to content

Commit

Permalink
Add accessibility statement
Browse files Browse the repository at this point in the history
  • Loading branch information
hawx committed Feb 7, 2025
1 parent 07b7b11 commit e8ef9de
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 2 deletions.
2 changes: 2 additions & 0 deletions internal/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ func App(
page.Guidance(tmpls.Get("lpa_deleted.gohtml")))
handleRoot(page.PathLpaWithdrawn, RequireSession,
page.Guidance(tmpls.Get("lpa_withdrawn.gohtml")))
handleRoot(page.PathAccessibilityStatement, None,
page.Guidance(tmpls.Get("accessibility_statement.gohtml")))

voucherpage.Register(
rootMux,
Expand Down
1 change: 1 addition & 0 deletions internal/page/paths.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const (
PathVoucherUnableToConfirmIdentity = Path("/voucher-unable-to-confirm-identity")
PathVoucherDonorDetailsDoNotMatch = Path("/voucher-donor-details-do-not-match")

PathAccessibilityStatement = Path("/accessibility-statement")
PathAttorneyFixtures = Path("/fixtures/attorney")
PathAuthRedirect = Path("/auth/redirect")
PathCertificateProviderFixtures = Path("/fixtures/certificate-provider")
Expand Down
2 changes: 2 additions & 0 deletions internal/templatefn/paths.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ type appPaths struct {
Voucher voucherPaths
HealthCheck healthCheckPaths

AccessibilityStatement page.Path
AttorneyFixtures page.Path
AuthRedirect page.Path
CertificateProviderFixtures page.Path
Expand Down Expand Up @@ -336,6 +337,7 @@ var paths = appPaths{
Dependency: page.PathHealthCheckDependency,
},

AccessibilityStatement: page.PathAccessibilityStatement,
AttorneyFixtures: page.PathAttorneyFixtures,
AuthRedirect: page.PathAuthRedirect,
CertificateProviderFixtures: page.PathCertificateProviderFixtures,
Expand Down
5 changes: 4 additions & 1 deletion lang/cy.json
Original file line number Diff line number Diff line change
Expand Up @@ -1582,5 +1582,8 @@
"and:en": "Welsh",
"and:cy": "Welsh",
"donorHasChosenToHaveTheirLpaRegisteredInContent": "<div class=\"govuk-notification-banner__content\"><p class=\"govuk-notification-banner__heading\">Welsh {{.DonorFullName}} {{.InSelected}}</p><p class=\"govuk-body\">{{.BetweenSelected}} {{.AndUnselected}}.</p><p class=\"govuk-body\">{{.DonorFullName}} {{.InSelected}}</p></div>",
"donorHasChosenToHaveTheirLpaRegisteredInAttorneyContent": "<div class=\"govuk-notification-banner__content\"><p class=\"govuk-notification-banner__heading\">Welsh {{.DonorFullName}} {{.InSelected}}</p><p class=\"govuk-body\">{{.DonorFullName}} {{.InSelected}}</p></div>"
"donorHasChosenToHaveTheirLpaRegisteredInAttorneyContent": "<div class=\"govuk-notification-banner__content\"><p class=\"govuk-notification-banner__heading\">Welsh {{.DonorFullName}} {{.InSelected}}</p><p class=\"govuk-body\">{{.DonorFullName}} {{.InSelected}}</p></div>",
"accessibilityStatement": "Welsh",
"accessibilityStatementForMakeAndRegister": "Welsh",
"accessibilityStatementContent": "<p class=\"govuk-body\">Welsh</p>"
}
5 changes: 4 additions & 1 deletion lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1478,5 +1478,8 @@
"and:en": "and English",
"and:cy": "and Welsh",
"donorHasChosenToHaveTheirLpaRegisteredInContent": "<div class=\"govuk-notification-banner__content\"><p class=\"govuk-notification-banner__heading\">{{.DonorFullName}} has chosen to have their LPA registered {{.InSelected}}</p><p class=\"govuk-body\">When reading the LPA, you can switch {{.BetweenSelected}} {{.AndUnselected}}.</p><p class=\"govuk-body\">Bear in mind that any restrictions and conditions {{.DonorFullName}} has written {{.InSelected}} will not be translated.</p></div>",
"donorHasChosenToHaveTheirLpaRegisteredInAttorneyContent": "<div class=\"govuk-notification-banner__content\"><p class=\"govuk-notification-banner__heading\">{{.DonorFullName}} has chosen to have their LPA registered {{.InSelected}}. This is a translation.</p><p class=\"govuk-body\">Bear in mind that any restrictions and conditions {{.DonorFullName}} has written {{.InSelected}} will not be translated.</p></div>"
"donorHasChosenToHaveTheirLpaRegisteredInAttorneyContent": "<div class=\"govuk-notification-banner__content\"><p class=\"govuk-notification-banner__heading\">{{.DonorFullName}} has chosen to have their LPA registered {{.InSelected}}. This is a translation.</p><p class=\"govuk-body\">Bear in mind that any restrictions and conditions {{.DonorFullName}} has written {{.InSelected}} will not be translated.</p></div>",
"accessibilityStatement": "Accessibility statement",
"accessibilityStatementForMakeAndRegister": "Accessibility statement for Make and register a lasting power of attorney",
"accessibilityStatementContent": "<p class=\"govuk-body\">This accessibility statement applies to Make and register a lasting power of attorney.</p><p class=\"govuk-body\">This website is run by the Office of the Public Guardian. We want as many people as possible to be able to use this website. For example, that means you should be able to:</p><ul class=\"govuk-list govuk-list--bullet\"><li>change colours, contrast levels and fonts using browser or device settings</li><li>zoom in up to 400% without the text spilling off the screen</li><li>navigate most of the website using a keyboard or speech recognition software</li><li>listen to most of the website using a screen reader (including the most recent versions of JAWS, NVDA and VoiceOver)</li></ul><p class=\"govuk-body\">We’ve also made the website text as simple as possible to understand.</p><p class=\"govuk-body\"><a href=\"https://mcmw.abilitynet.org.uk/\" class=\"govuk-link\">AbilityNet</a> has advice on making your device easier to use if you have a disability.</p><h2 class=\"govuk-heading-m\">Feedback and contact information</h2><p class=\"govuk-body\">If you find any problems not listed on this page or think we’re not meeting accessibility requirements, email [email protected] or call 0300 456 0300.</p><h2 class=\"govuk-heading-m\">What to do if you cannot use this service</h2><p class=\"govuk-body\">We can offer the information on this website as a paper form, provided in large print, easy read or braille, or as an audio recording.</p><p class=\"govuk-body\">To request this:</p><ul class=\"govuk-list govuk-list--bullet\"><li>email [email protected]</li><li>call <span class=\"govuk-!-font-weight-bold\">0300 456 0300</span> – our customer service team use <a href=\"https://www.relayuk.bt.com/about-relay-uk.html\" class=\"govuk-link\">Relay UK</a> to support deaf, hard-of-hearing, and speech-impaired people</li></ul><h2 class=\"govuk-heading-m\">Enforcement procedure</h2><p class=\"govuk-body\">The Equality and Human Rights Commission (EHRC) is responsible for enforcing the Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018 (the ‘accessibility regulations’). If you’re not happy with how we respond to your complaint, <a href=\"https://www.equalityadvisoryservice.com/\" class=\"govuk-link\">contact the Equality Advisory and Support Service (EASS)</a>.</p><h2 class=\"govuk-heading-m\">Technical information about this website’s accessibility</h2><p class=\"govuk-body\">The Office of the Public Guardian is committed to making its website accessible, in accordance with the Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018.</p><h2 class=\"govuk-heading-m\">Compliance status</h2><p class=\"govuk-body\">This website has been tested against the Web Content Accessibility Guidelines (WCAG) 2.2 AA standard by <a href=\"https://uservision.co.uk/\" class=\"govuk-link\">User Vision</a>, an external auditor.</p><p class=\"govuk-body\">This website is fully compliant with the <a href=\"https://www.w3.org/TR/WCAG22/\">Web Content Accessibility Guidelines version 2.2</a> AA standard.</p><h2 class=\"govuk-heading-m\">What we’re doing to maintain accessibility</h2><p class=\"govuk-body\">We’ll commission regular audits from an external company to ensure Make and register a lasting power of attorney remains compliant with accessibility regulations.</p><h2 class=\"govuk-heading-m\">Preparation of this accessibility statement</h2><p class=\"govuk-body\">This statement was prepared on 7 February 2025. It was last reviewed on 7 February 2025.</p><p class=\"govuk-body\">This website was last tested in August 2024 against the WCAG 2.2 AA standard.</p><p class=\"govuk-body\">The test was carried out by User Vision, who conducted an in-depth audit of key user journeys on the website using both automated testing and manual reviews.</p>"
}
13 changes: 13 additions & 0 deletions web/template/accessibility_statement.gohtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{{ template "page" . }}

{{ define "pageTitle" }}{{ tr .App "accessibilityStatementForMakeAndRegister" }}{{ end }}

{{ define "main" }}
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-xl">{{ tr .App "accessibilityStatementForMakeAndRegister" }}</h1>

{{ trHtml .App "accessibilityStatementContent" }}
</div>
</div>
{{ end }}
5 changes: 5 additions & 0 deletions web/template/layout/page.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,11 @@
{{ tr .App "termsAndConditions" }}
</a>
</li>
<li class="govuk-footer__inline-list-item">
<a class="govuk-footer__link" href="{{ link .App global.Paths.AccessibilityStatement.Format }}">
{{ tr .App "accessibilityStatement" }}
</a>
</li>
{{ if global.DevMode }}<li class="govuk-footer__inline-list-item">
<a class="govuk-footer__link" href="{{ if .App.Localizer.ShowTranslationKeys }}{{ link .App .App.Page }}{{ else }}{{ link .App .App.Page }}?showTranslationKeys=1{{ end }}">
{{ tr .App "toggleTransKeys" }}
Expand Down

0 comments on commit e8ef9de

Please sign in to comment.