Skip to content

Commit e3e88a3

Browse files
authored
Merge pull request #404 from UiPath/fix/multiple-suggest-a11y
fix(suggest): add role for aria attrs in multiple selection scenario
2 parents d4cd0d8 + 26ea4bf commit e3e88a3

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# v15.0.2-rc.5 (2023-10-03)
2+
* **suggest** add role for aria attrs in multiple selection scenario
3+
14
# v15.0.2-rc.4 (2023-10-02)
25
* **grid** improve performance using trackBy
36

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-components",
3-
"version": "15.0.2-rc.4",
3+
"version": "15.0.2-rc.5",
44
"author": {
55
"name": "UiPath Inc",
66
"url": "https://uipath.com"

projects/angular/components/ui-suggest/src/ui-suggest.component.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,7 @@
8282
[attr.tabindex]="!disabled && !readonly ? 0 : null"
8383
[attr.aria-label]="ariaLabel ?? placeholder"
8484
[attr.aria-describedby]="describedBy"
85-
[attr.aria-required]="required"
8685
[attr.aria-disabled]="disabled || readonly"
87-
[attr.aria-expanded]="isOpen"
8886
[style.width]="isFormControl ? null : width"
8987
[disabled]="disabled"
9088
(click)="open()"
@@ -135,9 +133,12 @@
135133
[matChipInputFor]="chipList"
136134
[attr.maxlength]="maxLength"
137135
[attr.aria-label]="ariaLabel ?? placeholder"
136+
[attr.aria-required]="required"
137+
[attr.aria-expanded]="isOpen"
138138
selectionLocation="end"
139139
autocomplete="off"
140140
aria-autocomplete="list"
141+
role="combobox"
141142
matInput>
142143

143144
</mat-chip-grid>

projects/angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@uipath/angular",
3-
"version": "15.0.2-rc.4",
3+
"version": "15.0.2-rc.5",
44
"license": "MIT",
55
"author": {
66
"name": "UiPath Inc",

0 commit comments

Comments
 (0)