File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
libs/components/indicators/src/lib/modules/tokens Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1- 16.18
1+ 16.18.1
Original file line number Diff line number Diff line change 33 [@blockAnimationOnLoad]
44 [attr.role] ="tokens.length ? 'grid' : null "
55>
6+ <!--
7+ The role must use square brackets otherwise Angular sets the native 'role'
8+ attribute as well as the input attribute of the token, which fails accessibility rules.
9+ -->
610 < sky-token
711 *ngFor ="let token of tokens; let i = index; trackBy: trackTokenFn "
8- role ="row "
912 [@.disabled] ="!trackWith "
1013 [@dismiss]
1114 [disabled] ="disabled "
1215 [dismissible] ="dismissible "
1316 [focusable] ="focusable "
17+ [role] ="'row' "
1418 (dismiss) ="removeToken(token) "
1519 (click) ="onTokenClick(token) "
1620 (keydown) ="onTokenKeyDown($event) "
You can’t perform that action at this time.
0 commit comments