Skip to content

Commit 65c5be3

Browse files
committed
Wrap fork me ribbon in <aside> tag in base layout
Wraps the fork me ribbon within an <aside> element for improved semantic HTML structure and accessibility ([all page content should be contained by landmarks ](https://dequeuniversity.com/rules/axe/4.10/region).
1 parent 83797a5 commit 65c5be3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

_layouts/base.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,11 @@ <h1><a href="{{ site.baseurl }}/">{{ site.title }}</a></h1>
146146
{% assign forkme_url = "https://github.com/Homebrew/brew" -%}
147147
{% endif -%}
148148

149-
<a href="{{ forkme_url }}"><img id="forkme" src="{{ "/assets/img/forkme_right_gray_6d6d6d.svg" | relative_url }}" alt="Fork me on GitHub"></a>
149+
<aside>
150+
<a href="{{ forkme_url }}">
151+
<img id="forkme" src="{{ "/assets/img/forkme_right_gray_6d6d6d.svg" | relative_url }}" alt="Fork me on GitHub">
152+
</a>
153+
</aside>
150154
<script>
151155
function loadLanguage(lang) {
152156
if (lang === {{ page.lang | jsonify }}) {

0 commit comments

Comments
 (0)