From eec84d893d7ad4318434b7a37727b46488497b4a Mon Sep 17 00:00:00 2001 From: Victoria League Date: Thu, 19 Sep 2024 13:49:00 -0400 Subject: [PATCH] [CL-439] Improve keyboard and visual a11y for chip select (#11112) --- .../chip-select/chip-select.component.html | 5 +-- .../src/chip-select/chip-select.component.ts | 34 +++++++++++++++++-- 2 files changed, 34 insertions(+), 5 deletions(-) diff --git a/libs/components/src/chip-select/chip-select.component.html b/libs/components/src/chip-select/chip-select.component.html index 91d9d0fadb..81a1c47b3f 100644 --- a/libs/components/src/chip-select/chip-select.component.html +++ b/libs/components/src/chip-select/chip-select.component.html @@ -52,10 +52,10 @@ type="button" bitMenuItem (click)="viewOption(parent, $event)" - [title]="parent.label ? ('backTo' | i18n: parent.label) : ('back' | i18n)" + [title]="'backTo' | i18n: parent.label ?? placeholderText" > - {{ parent.label ? ("backTo" | i18n: parent.label) : ("back" | i18n) }} + {{ "backTo" | i18n: parent.label ?? placeholderText }}