Skip to content

Commit 50e48d5

Browse files
authored
fix(VChip): use button element for closable button (#18571)
closes #18547
1 parent 0a16351 commit 50e48d5

File tree

1 file changed

+2
-2
lines changed
  • packages/vuetify/src/components/VChip

1 file changed

+2
-2
lines changed

packages/vuetify/src/components/VChip/VChip.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ export const VChip = genericComponent<VChipSlots>()({
328328
)}
329329

330330
{ hasClose && (
331-
<div
331+
<button
332332
key="close"
333333
class="v-chip__close"
334334
{ ...closeProps.value }
@@ -351,7 +351,7 @@ export const VChip = genericComponent<VChipSlots>()({
351351
v-slots:default={ slots.close }
352352
/>
353353
)}
354-
</div>
354+
</button>
355355
)}
356356
</Tag>
357357
)

0 commit comments

Comments
 (0)