Skip to content

Commit

Permalink
Accessibility improvement
Browse files Browse the repository at this point in the history
Adds main landmark (this is particularly helpful for screen readers - tested with NVDA on Windows)
  • Loading branch information
coliff committed Apr 23, 2024
1 parent 2949d9d commit 380c0ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
<div class="sidebar">
{{ partial "hero" . }}
</div>
<div class="main">
<main class="main">
{{ block "main" . }}
{{ end }}
</div>
</main>
</div>
</div>

Expand Down

0 comments on commit 380c0ca

Please sign in to comment.