From a777dc16181d53fbe0af1b49114a830138bb4b57 Mon Sep 17 00:00:00 2001 From: omotrium Date: Thu, 10 Oct 2024 14:43:14 +0100 Subject: [PATCH 1/2] TGP:2629: Update accessibility statement for trader goods profiles --- conf/messages | 4 ++-- conf/services/trader-goods-profiles.yml | 31 ++++++++++++++++++++++++- test/views/StatementPageSpec.scala | 2 +- 3 files changed, 33 insertions(+), 4 deletions(-) diff --git a/conf/messages b/conf/messages index d1614de89..c88d19b7f 100644 --- a/conf/messages +++ b/conf/messages @@ -58,9 +58,9 @@ accessibility.compliance.full=This service is fully compliant with the accessibility.compliance.full.app=This app is fully compliant with the accessibility.compliance.partial=This service is partially compliant with the accessibility.compliance.partial.app=This app is partially compliant with the -accessibility.compliance.noncompliant=This service is non compliant with the +accessibility.compliance.noncompliant=This service is not fully compliant with the accessibility.compliance.noncompliant.app=This app is non compliant with the -accessibility.compliance.noncompliant.explanation=. This service has not yet been checked for compliance so some users may find parts of the service difficult to use. +accessibility.compliance.noncompliant.explanation=. This service was check on 9 September for compliance so some users may find parts of the service difficult to use. accessibility.compliance.noncompliant.explanation.app=. This app has not yet been checked for compliance so some users may find parts of the app difficult to use. accessibility.guidelines=Web Content Accessibility Guidelines version {0} AA standard accessibility.no-issues=There are no known accessibility issues within this service. diff --git a/conf/services/trader-goods-profiles.yml b/conf/services/trader-goods-profiles.yml index 575ac5ea3..5d1b7a470 100644 --- a/conf/services/trader-goods-profiles.yml +++ b/conf/services/trader-goods-profiles.yml @@ -5,7 +5,7 @@ serviceDescription: | serviceDomain: www.tax.service.gov.uk serviceUrl: /trader-goods-profiles contactFrontendServiceId: TGP -complianceStatus: noncompliant +complianceStatus: partial serviceLastTestedDate: 2024-07-22 statementVisibility: draft statementCreatedDate: 2024-07-22 @@ -14,3 +14,32 @@ businessArea: Borders & Trade ddc: DDC London liveOrClassic: typeOfService: Public beta +wcagVersion: 2.2 AA + +# +#accessibilityProblems: +# - When switching to Welsh, some pages in the service are missing Welsh translations. They appear with unreadable messages in English. These messages will not be pronounced correctly for screen-reader users. +# - Screen-reader users presented with incorrect and mismatching questions alongside the visually displayed questions when they navigate to form elements such as text fields and radio buttons. +# - On the ‘goods profile’ page, the remove and change links do not provide sufficient context for screen-reader users to determine where the link will take them. +# - On the ‘asking HMRC for advice’ page, the warning icon does not have alternative text that describes the warning icon’s meaning for screen-reader users. +# - The table on the ‘goods profile’ page does not fit on the viewport width, it forces 2 dimensional scrolling for the rest of the content on the page which can be difficult for people with motor impairments to navigate. +# - Name and email fields do not allow users to autofill personal information from their browser on the ‘what is your name?’ and ‘what is your email address?’ pages. +# +#milestones: +# - description: > +# When users select Welsh language, some content is missing the Welsh translation. This fails WCAG 2.2 success criterion 2.4.4: Link Purpose (In Context) and 3.1.2 Language of Parts +# date: 2023-01-31 +# - description: The `legend` and `label` do not provide correct question text that corresponds with the visually displayed. This fails WCAG 2.2 success criterion 2.4.6 Headings and Labels +# date: 2023-01-31 +# - description: The purpose of the remove and change links cannot be determined from the contextual copy for link text. This fails WCAG 2.2 success criterion 2.4.4 Link Purpose (in Context) +# date: 2023-01-31 +# - description: The warning icon has missing descriptive alternative text. This fails WCAG 2.2 success criterion 1.1.1 Non-text Content +# date: 2023-01-31 +# - description: The table is not responsive and is not wrapped in a scrollable container. This fails WCAG 2.2 success criterion 1.4.10 Reflow. +# date: 2023-01-31 +# - description: > +# Missing `autocomplete` attribute on the name and email fields. This fails WCAG 2.2 success criterion 1.3.5: Identify Input Purpose +# date: 2023-01-31 + + + diff --git a/test/views/StatementPageSpec.scala b/test/views/StatementPageSpec.scala index 7ff35469b..bf1c5b92f 100644 --- a/test/views/StatementPageSpec.scala +++ b/test/views/StatementPageSpec.scala @@ -420,7 +420,7 @@ class StatementPageSpec extends AnyWordSpec with Matchers with GuiceOneAppPerSui "Given an Accessibility Statement for a non compliant service, rendering a Statement Page" should { "include a statement that the service is non compliant" in new NonCompliantSetup { nonCompliantAccessibleStatementHtml should include( - """

This service is non compliant with the Web Content Accessibility Guidelines version 2.1 AA standard. This service has not yet been checked for compliance so some users may find parts of the service difficult to use.

""" + """

This service is not fully compliant with the Web Content Accessibility Guidelines version 2.2 AA standard. This service was check on 9 September for compliance so some users may find parts of the service difficult to use.

""" ) } From 92af0a8e3c28552d71b6093fc5b8eefd47ba1529 Mon Sep 17 00:00:00 2001 From: omotrium Date: Thu, 10 Oct 2024 17:02:39 +0100 Subject: [PATCH 2/2] TGP:2629: Update accessibility statement for trader goods profiles --- conf/messages | 4 +-- conf/services/trader-goods-profiles.yml | 48 ++++++++++++------------- test/views/StatementPageSpec.scala | 2 +- 3 files changed, 27 insertions(+), 27 deletions(-) diff --git a/conf/messages b/conf/messages index c88d19b7f..d1614de89 100644 --- a/conf/messages +++ b/conf/messages @@ -58,9 +58,9 @@ accessibility.compliance.full=This service is fully compliant with the accessibility.compliance.full.app=This app is fully compliant with the accessibility.compliance.partial=This service is partially compliant with the accessibility.compliance.partial.app=This app is partially compliant with the -accessibility.compliance.noncompliant=This service is not fully compliant with the +accessibility.compliance.noncompliant=This service is non compliant with the accessibility.compliance.noncompliant.app=This app is non compliant with the -accessibility.compliance.noncompliant.explanation=. This service was check on 9 September for compliance so some users may find parts of the service difficult to use. +accessibility.compliance.noncompliant.explanation=. This service has not yet been checked for compliance so some users may find parts of the service difficult to use. accessibility.compliance.noncompliant.explanation.app=. This app has not yet been checked for compliance so some users may find parts of the app difficult to use. accessibility.guidelines=Web Content Accessibility Guidelines version {0} AA standard accessibility.no-issues=There are no known accessibility issues within this service. diff --git a/conf/services/trader-goods-profiles.yml b/conf/services/trader-goods-profiles.yml index 5d1b7a470..80febe3a9 100644 --- a/conf/services/trader-goods-profiles.yml +++ b/conf/services/trader-goods-profiles.yml @@ -16,30 +16,30 @@ liveOrClassic: typeOfService: Public beta wcagVersion: 2.2 AA -# -#accessibilityProblems: -# - When switching to Welsh, some pages in the service are missing Welsh translations. They appear with unreadable messages in English. These messages will not be pronounced correctly for screen-reader users. -# - Screen-reader users presented with incorrect and mismatching questions alongside the visually displayed questions when they navigate to form elements such as text fields and radio buttons. -# - On the ‘goods profile’ page, the remove and change links do not provide sufficient context for screen-reader users to determine where the link will take them. -# - On the ‘asking HMRC for advice’ page, the warning icon does not have alternative text that describes the warning icon’s meaning for screen-reader users. -# - The table on the ‘goods profile’ page does not fit on the viewport width, it forces 2 dimensional scrolling for the rest of the content on the page which can be difficult for people with motor impairments to navigate. -# - Name and email fields do not allow users to autofill personal information from their browser on the ‘what is your name?’ and ‘what is your email address?’ pages. -# -#milestones: -# - description: > -# When users select Welsh language, some content is missing the Welsh translation. This fails WCAG 2.2 success criterion 2.4.4: Link Purpose (In Context) and 3.1.2 Language of Parts -# date: 2023-01-31 -# - description: The `legend` and `label` do not provide correct question text that corresponds with the visually displayed. This fails WCAG 2.2 success criterion 2.4.6 Headings and Labels -# date: 2023-01-31 -# - description: The purpose of the remove and change links cannot be determined from the contextual copy for link text. This fails WCAG 2.2 success criterion 2.4.4 Link Purpose (in Context) -# date: 2023-01-31 -# - description: The warning icon has missing descriptive alternative text. This fails WCAG 2.2 success criterion 1.1.1 Non-text Content -# date: 2023-01-31 -# - description: The table is not responsive and is not wrapped in a scrollable container. This fails WCAG 2.2 success criterion 1.4.10 Reflow. -# date: 2023-01-31 -# - description: > -# Missing `autocomplete` attribute on the name and email fields. This fails WCAG 2.2 success criterion 1.3.5: Identify Input Purpose -# date: 2023-01-31 + +accessibilityProblems: + - When switching to Welsh, some pages in the service are missing Welsh translations. They appear with unreadable messages in English. These messages will not be pronounced correctly for screen-reader users. + - Screen-reader users presented with incorrect and mismatching questions alongside the visually displayed questions when they navigate to form elements such as text fields and radio buttons. + - On the ‘goods profile’ page, the remove and change links do not provide sufficient context for screen-reader users to determine where the link will take them. + - On the ‘asking HMRC for advice’ page, the warning icon does not have alternative text that describes the warning icon’s meaning for screen-reader users. + - The table on the ‘goods profile’ page does not fit on the viewport width, it forces 2 dimensional scrolling for the rest of the content on the page which can be difficult for people with motor impairments to navigate. + - Name and email fields do not allow users to autofill personal information from their browser on the ‘what is your name?’ and ‘what is your email address?’ pages. + +milestones: + - description: > + When users select Welsh language, some content is missing the Welsh translation. This fails WCAG 2.2 success criterion 2.4.4: Link Purpose (In Context) and 3.1.2 Language of Parts + date: 2024-12-31 + - description: The `legend` and `label` do not provide correct question text that corresponds with the visually displayed. This fails WCAG 2.2 success criterion 2.4.6 Headings and Labels + date: 2024-12-31 + - description: The purpose of the remove and change links cannot be determined from the contextual copy for link text. This fails WCAG 2.2 success criterion 2.4.4 Link Purpose (in Context) + date: 2024-12-31 + - description: The warning icon has missing descriptive alternative text. This fails WCAG 2.2 success criterion 1.1.1 Non-text Content + date: 2024-12-31 + - description: The table is not responsive and is not wrapped in a scrollable container. This fails WCAG 2.2 success criterion 1.4.10 Reflow. + date: 2024-12-31 + - description: > + Missing `autocomplete` attribute on the name and email fields. This fails WCAG 2.2 success criterion 1.3.5: Identify Input Purpose + date: 2024-12-31 diff --git a/test/views/StatementPageSpec.scala b/test/views/StatementPageSpec.scala index bf1c5b92f..7ff35469b 100644 --- a/test/views/StatementPageSpec.scala +++ b/test/views/StatementPageSpec.scala @@ -420,7 +420,7 @@ class StatementPageSpec extends AnyWordSpec with Matchers with GuiceOneAppPerSui "Given an Accessibility Statement for a non compliant service, rendering a Statement Page" should { "include a statement that the service is non compliant" in new NonCompliantSetup { nonCompliantAccessibleStatementHtml should include( - """

This service is not fully compliant with the Web Content Accessibility Guidelines version 2.2 AA standard. This service was check on 9 September for compliance so some users may find parts of the service difficult to use.

""" + """

This service is non compliant with the Web Content Accessibility Guidelines version 2.1 AA standard. This service has not yet been checked for compliance so some users may find parts of the service difficult to use.

""" ) }