Skip to content

Commit

Permalink
Merge pull request #448 from hmcts/EXUI-1270-accessibility-bug-common…
Browse files Browse the repository at this point in the history
…-lib

Ex UI 1270 accessibility bug common lib
  • Loading branch information
RiteshHMCTS authored Aug 19, 2024
2 parents 011f437 + 4431496 commit ceb2781
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hmcts/rpx-xui-common-lib",
"version": "2.0.26",
"version": "2.0.27",
"engines": {
"node": ">=18.19.0"
},
Expand Down
2 changes: 1 addition & 1 deletion projects/exui-common-lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hmcts/rpx-xui-common-lib",
"version": "2.0.26",
"version": "2.0.27",
"peerDependencies": {
"launchdarkly-js-client-sdk": "^3.3.0",
"ngx-pagination": "^3.2.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="location-picker-custom">
<div class="search-location">
<div>
<label id="input-selected-location-label" *ngIf="locationTitle">{{locationTitle}}</label>
<label id="input-selected-location-label" for="inputLocationSearch" *ngIf="locationTitle">{{locationTitle}}</label>
</div>
<exui-search-location class="search-location"
[form]="form"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</xuilib-gov-label>
<input class="govuk-input govuk-date-input__input govuk-input--width-2"
[ngClass]="{'govuk-input--error': errorMessage?.isInvalid}"
[id]="config.id"
[id]="config.id+'-day'"
[name]="config.id+'-day'" type="number" value="" pattern="[0-9]*"
[formControlName]="config.id+'_day'">
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe('GovUkDateComponent', () => {
});

it('should have input for day, month and year elements', () => {
const day = fixture.debugElement.query(By.css('#id'));
const day = fixture.debugElement.query(By.css('#id-day'));
expect(day).toBeTruthy();
const month = fixture.debugElement.query(By.css('#id-month'));
expect(month).toBeTruthy();
Expand Down

0 comments on commit ceb2781

Please sign in to comment.