-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #888 from hmcts/PAY-7126
Pay 7126
- Loading branch information
Showing
24 changed files
with
358 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74 changes: 74 additions & 0 deletions
74
src/app/components/accessibility-statement/accessibility-statement.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
<div class="govuk-width-container"> | ||
<div class="govuk-grid-row"> | ||
<a (click)="backClicked()" class="link-back">Back</a> | ||
<h1 class="heading-xlarge">Accessibility statement for PayBubble</h1> | ||
|
||
<p>This accessibility statement applies to Paybubble: <a target="_blank" href="https://paybubble.platform.hmcts.net" rel="noopener">https://paybubble.platform.hmcts.net</a><br/> | ||
This website is run by HM Courts and Tribunals Service. 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--bullet"> | ||
<li>change colours, contrast levels and fonts</li> | ||
<li>zoom in up to 300% without the text spilling off the screen</li> | ||
<li>navigate most of the website using just a keyboard</li> | ||
<li>navigate most of the website using 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> | ||
<br> | ||
We've also made the website text as simple as possible to understand.<br> | ||
Please contact your line manager for advice on making your device easier to use if you have a disability.<br><br> | ||
|
||
<h2 class="govuk-heading-l">How accessible this website is</h2> | ||
|
||
<p>We know some parts of this website are not fully accessible:</p> | ||
<ul class="govuk-list--bullet"> | ||
<li>the text will not reflow in a single column when you change the size of the browser window</li> | ||
<li>some of our online forms are difficult to navigate using just a keyboard</li> | ||
<li>you cannot skip to the main content when using a screen reader.</li> | ||
</ul> | ||
<br> | ||
<h2 class="govuk-heading-l">Reporting accessibility problems with this website</h2> | ||
|
||
<p>We're always looking to improve the accessibility of this website. If you find any problems not listed on this page or think we're not meeting accessibility requirements, contact: <a href="mailto:[email protected]">DTS-FeePayServiceDesk@hmcts.net</a> for guidance to raise any issues.</p> | ||
|
||
<h2 class="govuk-heading-l">Enforcement procedure</h2> | ||
|
||
<p>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, contact the <a href="https://www.equalityadvisoryservice.com/" target="_blank" rel="noopener">Advisory and Support Service (EASS).</a></p> | ||
|
||
<h2 class="govuk-heading-l">Technical information about this website's accessibility</h2> | ||
|
||
<p>HMCTS 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-l">Compliance status</h2> | ||
|
||
<p>This website is partially compliant with the <a href="https://www.w3.org/TR/WCAG21/" target="_blank" rel="noopener">Web Content Accessibility Guidelines version 2.1</a> AA standard, due to the non-compliances, listed below.</p> | ||
|
||
<h2 class="govuk-heading-l">Non-accessible content</h2> | ||
|
||
<p>The content listed below is non-accessible for the following reasons.</p> | ||
|
||
<h2 class="govuk-heading-l">Non-compliance with the accessibility regulations</h2> | ||
|
||
<p>A layout table is present but does not contain any header cells. The screen reader users are not able to associate the table data to table headings. This failed to meet 1.1.1 Non-Text Content Level A.<br/> | ||
The headings are not hierarchical and heading level 2 is skipped. There are multiple links that are identified as text elements rather than links (This issue pertains only to Safari browser not Google Chrome). A group of radio buttons are not enclosed in a fieldset. This failed to meet 1.3.1 Info and Relationships Level A. | ||
Some of the content gets lost or overlaps when the page is zoomed in to 200% on laptops and at actual size on a mobile device. This failed to meet 1.4.4 Resize Text Level AA.<br/> | ||
Some content can be lost or overlaps on different smaller devices. This fails to meet 1.4.10 Reflow.<br/> | ||
The highlight colour does not meet contrast requirements for links. The skip to main content link overlaps other content and then fails contrast. This failed to meet 1.4.11 Non-Text Contrast Level AA.<br/> | ||
There are multiple links that cannot be tabbed to from the keyboard or do not receive keyboard focus. This failed to meet 2.1.1 Keyboard Level A.<br/> | ||
The 'skip to main' content link does not skip to main content because the main content region is missing. The navigation landmark is also not present. This failed to meet 2.4.1 Bypass Blocks Level A.<br/> | ||
The page titles are not unique and do not describe the page. This failed to meet 2.4.2 Page Titled Level A.<br/> | ||
The pages look identical when searching for a case transaction, payment history, or service request. This could be confusing for users who might think they have not moved pages. The page has no h1 headings. This failed to meet 2.4.6 Headings and Labels Level AA.<br/> | ||
The language of the document is not identified or the lang attribute value is invalid. This failed to meet 3.1.1 Language of Page Level A.<br/> | ||
The keyboard focus is not taken to the error summary and is not announced to screen reader users immediately. This failed to meet 3.3.1 Error Identification Level A.<br/> | ||
A form label is not accurate in its description so it would not make sense for screen reader users. Also, the words which visually label a component are not the words read by the screenreader. This failed to meet 3.3.2 Labels or Instructions Level A.<br/> | ||
The status message for how many results were found is not announced to screen reader users. This failed to meet 4.1.3 Status Messages Level AA.</p> | ||
|
||
<h2 class="govuk-heading-l">What we're doing to improve accessibility</h2> | ||
<p>We're committed to ensuring our services are accessible to all our users and that they comply with <a target="_blank" href="https://www.w3.org/TR/WCAG22/" rel="noopener">Web Content Accessibility Guidelines (WCAG) 2.2</a> Standard. To demonstrate this, we are going to engage with Digital Accessibility Centre to have a further review on 06/24<br/> | ||
We're actively working to improve the identified issues and make them AA-compliant by 31/05/24</p> | ||
|
||
<h2 class="govuk-heading-l">Preparation of this accessibility statement</h2> | ||
This statement was published 14/03/24<br> | ||
This website was last tested on 15/06/22. The test was carried out by Internal Accessibility Team within HMCTS.<br> | ||
The full service was tested. | ||
</div> | ||
</div> |
Empty file.
33 changes: 33 additions & 0 deletions
33
src/app/components/accessibility-statement/accessibility-statement.component.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
import { SpyLocation } from '@angular/common/testing'; | ||
import { AccessibilityStatementComponent } from './accessibility-statement.component'; | ||
import { Location } from '@angular/common'; | ||
|
||
describe('AccessibilityStatementComponent', () => { | ||
let component: AccessibilityStatementComponent; | ||
let fixture: ComponentFixture<AccessibilityStatementComponent>; | ||
let location: SpyLocation; | ||
|
||
beforeEach(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [AccessibilityStatementComponent], | ||
providers: [ | ||
{ provide: Location, useClass: SpyLocation } | ||
] | ||
}); | ||
fixture = TestBed.createComponent(AccessibilityStatementComponent); | ||
component = fixture.componentInstance; | ||
location = TestBed.get(Location); | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
|
||
it('should go back to previous page on header button click', () => { | ||
spyOn(location, 'back'); | ||
component.backClicked(); | ||
expect(location.back).toHaveBeenCalled(); | ||
}); | ||
}); |
16 changes: 16 additions & 0 deletions
16
src/app/components/accessibility-statement/accessibility-statement.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { Component } from '@angular/core'; | ||
import { Location } from '@angular/common'; | ||
|
||
@Component({ | ||
selector: 'app-accessibility-statement', | ||
templateUrl: './accessibility-statement.component.html', | ||
styleUrls: ['./accessibility-statement.component.scss'] | ||
}) | ||
export class AccessibilityStatementComponent { | ||
constructor(private _location: Location) | ||
{} | ||
|
||
backClicked() { | ||
this._location.back(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.