Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix(tag): Fixes an issue with the aria roles on the tag-list.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomheller committed May 4, 2021
1 parent 6560b9a commit fe15ef4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/barista-components/tag/src/tag-list/tag-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const DT_TAG_LIST_LAST_TAG_SPACING = 4;
styleUrls: ['tag-list.scss'],
host: {
class: 'dt-tag-list',
role: 'listbox',
role: 'list',
'[attr.aria-label]': 'ariaLabel',
},
preserveWhitespaces: false,
Expand Down
2 changes: 1 addition & 1 deletion libs/barista-components/tag/src/tag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class DtTagKey {}
styleUrls: ['tag.scss'],
host: {
class: 'dt-tag',
role: 'option',
role: 'listitem',
'[class.dt-tag-removable]': 'removable',
},
preserveWhitespaces: false,
Expand Down

0 comments on commit fe15ef4

Please sign in to comment.