Skip to content

Commit

Permalink
Accessibility improvement (#462)
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 24, 2024
1 parent 08a408f commit 37ae94c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layouts/_default/baseof.html
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 37ae94c

Please sign in to comment.