Skip to content

Commit

Permalink
fix(ASSETS-17256): Function cannot be performed by keyboard alone (#279)
Browse files Browse the repository at this point in the history
Co-authored-by: ens13533 <ens13533@adobe.com>
  • Loading branch information
mariang-ens and ens13533 committed Apr 12, 2023
1 parent 35a61d8 commit f5be562
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions coral-component-taglist/src/scripts/Tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ const Tag = Decorator(class extends BaseComponent(HTMLElement) {
}

this._elements.button.hidden = !this._closable;
this._elements.button.tabIndex = this._elements.button.hidden ? -1 : 0;
this._elements.buttonCell.hidden = !this._closable;
this._updateAriaLabel();
}
Expand Down

0 comments on commit f5be562

Please sign in to comment.