Skip to content

Commit 3cb596b

Browse files
committed
Accessibility: incremental header tag jumps
1 parent 054efab commit 3cb596b

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

frontend/components/footer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
<a href="index.html"><img src="frontend/assets/logo-full-grayscale.png" alt="Teacher Scripts logo"></a>
55
<section class="grid footer-nav">
66
<ul>
7-
<li><h6>Quick Links</h6></li>
7+
<li class="footer-link-header">Quick Links</li>
88
<li>Home</li>
99
<li>About</li>
1010
<li>Product</li>
1111
<li>Contact</li>
1212
</ul>
1313
<ul>
14-
<li><h6>Give Feedback</h6></li>
14+
<li class="footer-link-header">Give Feedback</li>
1515
<li>Bugs Found</li>
1616
<li>Accessibility</li>
1717
<li>UI/UX Design</li>

frontend/styles/footer.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,12 @@
3232
gap: var(--gutter-col-1);
3333
}
3434

35-
.footer-col-1 .footer-nav h6 {
35+
.footer-col-1 .footer-nav .footer-link-header {
3636
margin-bottom: var(--gutter-row-1);
37+
line-height: 1;
38+
font-family: var(--ff-serif);
39+
font-size: 2rem;
40+
font-weight: bold;
3741
}
3842

3943
.footer-col-2 p:first-of-type {

0 commit comments

Comments
 (0)