Skip to content

Commit 20ed25b

Browse files
authored
docs(VChip): fix examples for a11y (#21998)
1 parent 997dd56 commit 20ed25b

File tree

4 files changed

+8
-67
lines changed

4 files changed

+8
-67
lines changed

packages/docs/src/examples/v-chip-group/misc-product-card.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222

2323
<v-chip-group
2424
v-model="selection"
25-
selected-class="text-deep-purple-accent-4"
25+
selected-class="v-chip--selected v-chip--variant-tonal text-deep-purple-accent-4"
26+
variant="outlined"
2627
mandatory
2728
>
2829
<v-chip
2930
v-for="size in sizes"
3031
:key="size"
3132
:text="size"
3233
:value="size"
33-
variant="outlined"
3434
></v-chip>
3535
</v-chip-group>
3636
</v-card-text>

packages/docs/src/examples/v-chip-group/misc-toothbrush-card.vue

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@
2323

2424
<v-chip-group
2525
v-model="selection"
26-
variant="flat"
26+
selected-class="v-chip--selected v-chip--variant-flat"
27+
variant="outlined"
2728
mandatory
2829
>
29-
<v-chip text="Extra Soft" border></v-chip>
30-
<v-chip text="Soft" border></v-chip>
31-
<v-chip text="Medium" border></v-chip>
32-
<v-chip text="Hard" border></v-chip>
30+
<v-chip text="Extra Soft"></v-chip>
31+
<v-chip text="Soft"></v-chip>
32+
<v-chip text="Medium"></v-chip>
33+
<v-chip text="Hard"></v-chip>
3334
</v-chip-group>
3435
</v-card-text>
3536

packages/docs/src/examples/v-item-group/misc-chips.vue

Lines changed: 0 additions & 54 deletions
This file was deleted.

packages/docs/src/pages/en/components/item-groups.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,6 @@ Item groups can have **multiple** items selected.
6161

6262
### Misc
6363

64-
#### Chips
65-
66-
Easily hook up a custom chip group.
67-
68-
<ExamplesExample file="v-item-group/misc-chips" />
69-
7064
#### Selection
7165

7266
Icons can be used as toggle buttons when they allow selection, or deselection, of a single choice, such as marking an item as a favorite.

0 commit comments

Comments
 (0)