Skip to content

Commit 4923a5e

Browse files
authored
docs: fix aria-labelledby example.
1 parent 5abf40b commit 4923a5e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/guide/best-practices/accessibility.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,13 @@ Users can navigate an application through headings. Having descriptive headings
9797
```vue-html
9898
<main role="main" aria-labelledby="main-title">
9999
<h1 id="main-title">Main title</h1>
100-
<section aria-labelledby="section-title">
101-
<h2 id="section-title"> Section Title </h2>
100+
<section aria-labelledby="section-title-1">
101+
<h2 id="section-title-1"> Section Title </h2>
102102
<h3>Section Subtitle</h3>
103103
<!-- Content -->
104104
</section>
105-
<section aria-labelledby="section-title">
106-
<h2 id="section-title"> Section Title </h2>
105+
<section aria-labelledby="section-title-2">
106+
<h2 id="section-title-2"> Section Title </h2>
107107
<h3>Section Subtitle</h3>
108108
<!-- Content -->
109109
<h3>Section Subtitle</h3>

0 commit comments

Comments
 (0)