Skip to content

Commit 27e7d66

Browse files
Accessibility amends for non-descriptive headings
1 parent 747a952 commit 27e7d66

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

RELEASE-NOTES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
## RELEASE NOTES
2+
### Version 2.68.6-non-descriptive-headings
3+
**EUI-3155** Accessibility amends for non-descriptive headings
4+
25
### Version 2.67.5-dynamiclist-fix-in-complex
36
**EUI-2350** Dynamic Lists in Complex Types
47

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hmcts/ccd-case-ui-toolkit",
3-
"version": "2.67.5-dynamiclist-fix-in-complex",
3+
"version": "2.68.6-non-descriptive-headings",
44
"engines": {
55
"yarn": "^1.12.3",
66
"npm": "^5.6.0"

src/shared/components/palette/collection/write-collection-field.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ <h2 class="heading-h2">
66
{{caseField | ccdFieldLabel}}
77
</h2>
88
<button class="button" type="button" (click)="addItem(true)" [disabled]="isNotAuthorisedToCreate()">Add new</button>
9-
<h2 class="heading-h2 error-spacing">
9+
<h2 *ngIf="caseField.hint_text || formArray.errors" class="heading-h2 error-spacing">
1010
<span *ngIf="caseField.hint_text" class="form-hint">{{caseField.hint_text}}</span>
1111
<span *ngIf="formArray.errors" class="error-message">{{formArray.errors | ccdFirstError}}</span>
1212
</h2>

src/shared/components/search-filters/search-filters.component.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<form>
1+
<h2 class="heading-h2" aria-label="Filters">Filters</h2>
2+
<form class="global-display">
23
<div class="form-group" style="margin-top: 13px;">
34
<label class="form-label" for="s-jurisdiction">Jurisdiction*</label>
45
<select class="form-control form-control-3-4 ccd-dropdown" id="s-jurisdiction"

src/shared/components/search-result/search-result.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<table *ngIf="hasResults() || hasDrafts()">
22
<caption>
3-
<h2 class="heading-h2">{{ caseState ? 'Case List' : 'Search result' }}</h2>
3+
<h2 class="heading-h2">{{ caseState ? 'Your cases' : 'Search result' }}</h2>
44
<div *ngIf="(hasResults() || hasDrafts())" class="pagination-top"
55
attr.aria-label="{{ getTotalResults() }} results have been found">
66
<span class="text-16">Displaying {{ getFirstResult() }} - {{ getLastResult() }} out of {{ getTotalResults() }} results</span>

0 commit comments

Comments
 (0)