Skip to content

Commit ffdcb67

Browse files
committed
Accessibility improvements
1 parent 25c3969 commit ffdcb67

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

src/views/Home.vue

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@
3434
<v-row>
3535
<!-- What is Scapy -->
3636
<v-col cols="12" lg="7" class="d-flex">
37-
<v-card variant="tonal" title="What is Scapy?">
37+
<v-card variant="tonal">
38+
<v-card-title>
39+
<h4>What is Scapy?</h4>
40+
</v-card-title>
3841
<v-card-text>
3942
<v-row>
4043
<v-col cols="12" sm="4">
@@ -79,7 +82,10 @@
7982
</v-col>
8083
<!-- Documentation -->
8184
<v-col cols="12" lg="8">
82-
<v-card variant="tonal" title="Documentation">
85+
<v-card variant="tonal">
86+
<v-card-title>
87+
<h4>Documentation</h4>
88+
</v-card-title>
8389
<v-card-text class="text-body-2 align-content-center">
8490
<p>
8591
The official Scapy documentation can be found online on readthedocs:
@@ -153,7 +159,10 @@
153159
</v-col>
154160
<!-- Maintainers -->
155161
<v-col cols="12" lg="4" class="d-flex flex-column">
156-
<v-card variant="tonal" title="Maintainers" class="flex-grow-1 flex-shrink-1">
162+
<v-card variant="tonal" class="flex-grow-1 flex-shrink-1">
163+
<v-card-title>
164+
<h4>Maintainers</h4>
165+
</v-card-title>
157166
<v-card-text class="text-body-2">
158167
<v-row>
159168
<v-col cols="6" sm="4" lg="6">
@@ -175,7 +184,10 @@
175184
<!-- Downloads -->
176185
<v-col cols="12">
177186
<div ref="downloads_section">
178-
<v-card variant="tonal" title="Downloads & Installation">
187+
<v-card variant="tonal">
188+
<v-card-title>
189+
<h4>Downloads & Installation</h4>
190+
</v-card-title>
179191
<v-card-text class="text-body-2">
180192
<p>
181193
There are several ways of installing Scapy, depending on your plateform.
@@ -340,4 +352,10 @@ a:visited {
340352
code.bash:before {
341353
content: '$ ';
342354
}
355+
356+
/* Thinner h4 titles */
357+
h4 {
358+
font-weight: 500;
359+
padding: 2px 0px 2px 0px;
360+
}
343361
</style>

0 commit comments

Comments
 (0)