Skip to content

Commit 42469af

Browse files
Merge pull request #1180 from BitcoinDesign/feature/table-of-contents-markup-tweak
Fix semantic markup of table of contents
2 parents 8aecad5 + e0c3ea9 commit 42469af

36 files changed

+72
-72
lines changed

guide/case-studies/payjoin.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ Illustration sources: <>
5454
{:.no_toc}
5555
---
5656

57-
<div class="glossary-toc" markdown="1">
57+
<nav class="glossary-toc" markdown="1" aria-label="Table of contents">
5858
* Table of contents
5959
{:toc}
60-
</div>
60+
</nav>
6161

6262
---
6363

guide/case-studies/saving-satoshi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ Illustration sources: <>
3434

3535
---
3636

37-
<div class="glossary-toc" markdown="1">
37+
<nav class="glossary-toc" markdown="1" aria-label="Table of contents">
3838
* Table of contents
3939
{:toc}
40-
</div>
40+
</nav>
4141

4242
---
4343

guide/contribute/case-studies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ image: https://bitcoin.design/assets/images/guide/contribute/case-studies/case-s
2424
# Case study guidelines
2525
{:.no_toc}
2626

27-
<div class="glossary-toc" markdown="1">
27+
<nav class="glossary-toc" markdown="1" aria-label="Table of contents">
2828
* Table of contents
2929
{:toc}
30-
</div>
30+
</nav>
3131

3232
There are various types of case studies. Some document proven solutions in the ecosystem, others are short, to the point stories of how a designer or team solved a particular challenge. This document is intended to help you write one of the latter. Ideally, a case study that is digestible for a wider audience, would be in the range of 1-4 pages in length.
3333

guide/contribute/formatting/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The design source file is a public Figma community file you can find [here](http
2929

3030
---
3131

32-
<div class="glossary-toc" markdown="1">
32+
<nav class="glossary-toc" markdown="1" aria-label="Table of contents">
3333
- [Text](#text-formatting)
3434
- [Headers](#headers)
3535
- [Blockquotes](#blockquote)
@@ -42,7 +42,7 @@ The design source file is a public Figma community file you can find [here](http
4242
- [Do's and don'ts](#dos-and-donts)
4343
- [Footnotes](#footnotes)
4444
- [Media]({{ '/guide/contribute/formatting/media/' | relative_url }})
45-
</div>
45+
</nav>
4646

4747
---
4848

guide/contribute/formatting/media.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ videos:
3434

3535
---
3636

37-
<div class="glossary-toc" markdown="1">
37+
<nav class="glossary-toc" markdown="1" aria-label="Table of contents">
3838
* Table of contents
3939
{:toc}
40-
</div>
40+
</nav>
4141

4242
---
4343

guide/daily-spending-wallet/contacts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,10 @@ Let's go over common user interactions around managing contacts. This will illus
209209

210210
---
211211

212-
<div class="glossary-toc" markdown="1">
212+
<nav class="glossary-toc" markdown="1" aria-label="Table of contents">
213213
* Table of contents
214214
{:toc}
215-
</div>
215+
</nav>
216216

217217
---
218218

guide/daily-spending-wallet/first-use.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ https://www.figma.com/file/NjtMNQiJtoVkedEHgwD0A9/BTC-DSN-Guide-Header-Images?no
8484

8585
---
8686

87-
<div class="glossary-toc" markdown="1">
87+
<nav class="glossary-toc" markdown="1" aria-label="Table of contents">
8888
* Table of contents
8989
{:toc}
90-
</div>
90+
</nav>
9191

9292
---
9393

guide/daily-spending-wallet/landing-page.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ The daily spending wallet is an app designed to quickly and easily send small am
108108

109109
---
110110

111-
<div class="glossary-toc" markdown="1">
111+
<nav class="glossary-toc" markdown="1" aria-label="Table of contents">
112112
<ul id="markdown-toc">
113113
<li><a href="/guide/daily-spending-wallet/first-use/">First use</a></li>
114114
<li><a href="/guide/daily-spending-wallet/backup-and-recovery/landing-page/">Backup & recovery</a></li>
@@ -120,7 +120,7 @@ The daily spending wallet is an app designed to quickly and easily send small am
120120
<li><a href="/guide/daily-spending-wallet/privacy/">Privacy</a></li>
121121
<li><a href="/guide/daily-spending-wallet/settings/">Settings</a></li>
122122
</ul>
123-
</div>
123+
</nav>
124124

125125
---
126126

guide/daily-spending-wallet/privacy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ https://www.figma.com/file/lf2Xyw2I2OXPsHiFQVQdiG/Daily-spending-wallet-prototyp
3737

3838
---
3939

40-
<div class="glossary-toc" markdown="1">
40+
<nav class="glossary-toc" markdown="1" aria-label="Table of contents">
4141
* Table of contents
4242
{:toc}
43-
</div>
43+
</nav>
4444

4545
---
4646

guide/daily-spending-wallet/requesting/receiving.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ Once a user has shared a payment request, the next step is receiving the payment
7070

7171
---
7272

73-
<div class="glossary-toc" markdown="1">
73+
<nav class="glossary-toc" markdown="1" aria-label="Table of contents">
7474
* Table of contents
7575
{:toc}
76-
</div>
76+
</nav>
7777

7878
---
7979

0 commit comments

Comments
 (0)