mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
[CL-439] Improve keyboard and visual a11y for chip select (#11112)
This commit is contained in:
@@ -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"
|
||||
>
|
||||
<i slot="start" class="bwi bwi-angle-left" aria-hidden="true"></i>
|
||||
{{ parent.label ? ("backTo" | i18n: parent.label) : ("back" | i18n) }}
|
||||
{{ "backTo" | i18n: parent.label ?? placeholderText }}
|
||||
</button>
|
||||
|
||||
<button
|
||||
@@ -76,6 +76,7 @@
|
||||
(click)="option.children?.length ? viewOption(option, $event) : selectOption(option, $event)"
|
||||
[disabled]="option.disabled"
|
||||
[title]="option.label"
|
||||
[attr.aria-haspopup]="option.children?.length ? 'menu' : null"
|
||||
>
|
||||
<i
|
||||
*ngIf="option.icon"
|
||||
|
||||
Reference in New Issue
Block a user