Skip to content

Commit

Permalink
lmendoza/9571-qa-unable-to-access-work-type-dropdown-with-keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
leomendoza123 committed Jan 8, 2025
1 parent 4d527d6 commit c9bb2eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[matMenuTriggerFor]="matMenu"
(keydown)="onSpaceBar($event)"
[attr.placeholder]="selectItemLabel"
[ariaLabel]="ariaLabelWorkType"
[ariaLabel]="ariaLabel"
readonly
formControlName="formControl"
[value]="selectedItem?.label"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
[menu]="workTypeMenu"
[formControlRef]="workTypeControl"
formControlName="workType"
[aria-label]="ariaLabelWork"
[aria-label]="ariaLabelWorkType"
>
</app-deep-select-input>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ export class WorkFormComponent implements OnInit {
languageLabelAriaLabel = $localize`:@@shared.languageLabelAriaLabel:Select the language used in this form`
selectCountryLocationLabel = $localize`:@@shared.selectCountryLocationLabel:Select a country or location of publication`
ariaLabelWork = $localize`:@@shared.ariaLabelWork:Work`
ariaLabelWorkType = $localize`:@@works.workType:Work type`


@Input() work: Work
@Input() userRecord: UserRecord
Expand Down

0 comments on commit c9bb2eb

Please sign in to comment.