Skip to content

Commit 58b599f

Browse files
committed
fix(Card): fix Card aria role warn
1 parent 2216e81 commit 58b599f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/mdc/Card/Card.svelte

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ $: tabindex = isClickable ? 0 : undefined
3131
</style>
3232

3333
<div
34+
role="button"
3435
{tabindex}
3536
class="mdc-card mdc-typography {$$props.class || ''}"
3637
style="background-color: {color}"

0 commit comments

Comments
 (0)