Skip to content

Commit 0104eca

Browse files
committed
Update aria of toggle
1 parent b014e41 commit 0104eca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_includes/masthead.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<li class="masthead__menu-item"><a href="{{ domain }}{{ link.url }}">{{ link.title }}</a></li>
1717
{% endfor %}
1818
<li id="theme-toggle" class="masthead__menu-item persist tail">
19-
<a role="button"><i id="theme-icon" class="fa-solid fa-sun" aria-hidden="true" title="toggle theme"></i></a>
19+
<a role="button" aria-labelledby="theme-icon"><i id="theme-icon" class="fa-solid fa-sun" aria-hidden="true" title="toggle theme"></i></a>
2020
</li>
2121
</ul>
2222
<ul class="hidden-links hidden"></ul>

0 commit comments

Comments
 (0)