From 76217a27a3c8851b0f90d7da9531e20143b19ee8 Mon Sep 17 00:00:00 2001 From: Andrei Caleniuc Date: Tue, 3 Oct 2023 11:29:37 +0300 Subject: [PATCH 1/2] fix(suggest): add role for aria attrs in multiple selection scenario --- .../components/ui-suggest/src/ui-suggest.component.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/angular/components/ui-suggest/src/ui-suggest.component.html b/projects/angular/components/ui-suggest/src/ui-suggest.component.html index 6d5026754..0182ae713 100644 --- a/projects/angular/components/ui-suggest/src/ui-suggest.component.html +++ b/projects/angular/components/ui-suggest/src/ui-suggest.component.html @@ -82,9 +82,7 @@ [attr.tabindex]="!disabled && !readonly ? 0 : null" [attr.aria-label]="ariaLabel ?? placeholder" [attr.aria-describedby]="describedBy" - [attr.aria-required]="required" [attr.aria-disabled]="disabled || readonly" - [attr.aria-expanded]="isOpen" [style.width]="isFormControl ? null : width" [disabled]="disabled" (click)="open()" @@ -135,9 +133,12 @@ [matChipInputFor]="chipList" [attr.maxlength]="maxLength" [attr.aria-label]="ariaLabel ?? placeholder" + [attr.aria-required]="required" + [attr.aria-expanded]="isOpen" selectionLocation="end" autocomplete="off" aria-autocomplete="list" + role="combobox" matInput> From 26ea4bf32410df2dd38c8852aa70dba88aa7c499 Mon Sep 17 00:00:00 2001 From: Andrei Caleniuc Date: Tue, 3 Oct 2023 12:14:28 +0300 Subject: [PATCH 2/2] chore: bump version to v15.0.2-rc.5 --- CHANGELOG.md | 3 +++ package-lock.json | 4 ++-- package.json | 2 +- projects/angular/package.json | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d58170202..908ce9c42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# v15.0.2-rc.5 (2023-10-03) +* **suggest** add role for aria attrs in multiple selection scenario + # v15.0.2-rc.4 (2023-10-02) * **grid** improve performance using trackBy diff --git a/package-lock.json b/package-lock.json index 43be7fde8..34ad1df47 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "angular-components", - "version": "15.0.2-rc.4", + "version": "15.0.2-rc.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "angular-components", - "version": "15.0.2-rc.4", + "version": "15.0.2-rc.5", "license": "MIT", "dependencies": { "@angular/animations": "15.2.9", diff --git a/package.json b/package.json index 22153f9ac..8b22f0bb6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angular-components", - "version": "15.0.2-rc.4", + "version": "15.0.2-rc.5", "author": { "name": "UiPath Inc", "url": "https://uipath.com" diff --git a/projects/angular/package.json b/projects/angular/package.json index 457ad4302..697c925a2 100644 --- a/projects/angular/package.json +++ b/projects/angular/package.json @@ -1,6 +1,6 @@ { "name": "@uipath/angular", - "version": "15.0.2-rc.4", + "version": "15.0.2-rc.5", "license": "MIT", "author": { "name": "UiPath Inc",