Skip to content

Commit 43722a4

Browse files
committed
Use aria-label on link rather than the list item
Ref: 8e16fa5#commitcomment-22764101
1 parent fcedaa1 commit 43722a4

File tree

1 file changed

+4
-4
lines changed
  • src/hexo/themes/documentation/layout/partials

1 file changed

+4
-4
lines changed

src/hexo/themes/documentation/layout/partials/footer.hbs

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
</div>
1414
{{/each}}
1515
<ul class="footer-nav__item social-list">
16-
<li class="github-icon" aria-label="Follow Sonar on GitHub">
17-
<a href="https://github.com/sonarwhal">
16+
<li class="github-icon">
17+
<a href="https://github.com/sonarwhali" aria-label="Follow Sonar on GitHub">
1818
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25"><path class="github-icon-svg" d="M12.5.4C5.7.4.2 5.9.2 12.7c0 5.4 3.5 10 8.4 11.7.6.1.8-.3.8-.6v-2.1C6 22.4 5.3 20 5.3 20c-.6-1.4-1.4-1.8-1.4-1.8-1.1-.7.1-.7.1-.7 1.2.1 1.9 1.3 1.9 1.3 1.1 1.9 2.9 1.3 3.6 1 .1-.8.4-1.3.8-1.6-2.7-.3-5.6-1.4-5.6-6.1 0-1.3.5-2.4 1.3-3.3-.2-.4-.6-1.6 0-3.3 0 0 1-.3 3.4 1.3 1-.3 2-.4 3.1-.4 1 0 2.1.1 3.1.4C17.9 5.2 19 5.5 19 5.5c.7 1.7.2 2.9.1 3.3.8.9 1.3 2 1.3 3.3 0 4.7-2.9 5.8-5.6 6.1.4.4.8 1.1.8 2.3v3.4c0 .3.2.7.8.6 4.9-1.6 8.4-6.2 8.4-11.7C24.8 5.9 19.3.4 12.5.4"/></svg>
1919
</a>
2020
</li>
21-
<li class="twitter-icon" aria-label="Follow Sonar on Twitter">
22-
<a href="https://twitter.com/narwhalnellie">
21+
<li class="twitter-icon">
22+
<a href="https://twitter.com/narwhalnellie" aria-label="Follow Sonar on Twitter">
2323
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24"><path class="twitter-icon-svg" d="M25 4.4c-.9.4-1.9.7-2.9.8 1-.6 1.8-1.6 2.2-2.8-1 .6-2.1 1-3.2 1.2-.9-1-2.2-1.6-3.7-1.6-2.8 0-5 2.3-5 5 0 .4 0 .8.1 1.2C8.3 8 4.6 6 2.1 2.9c-.4.8-.7 1.6-.7 2.6 0 1.8.9 3.3 2.2 4.2-.8-.1-1.5-.3-2.2-.7v.1c0 2.4 1.7 4.5 4.1 5-.4.1-.9.2-1.3.2-.3 0-.6 0-.9-.1.6 2 2.5 3.5 4.7 3.5-1.9 1.3-4 2.1-6.4 2.1-.4 0-.8 0-1.2-.1C2.6 21.2 5.3 22 8.1 22c9.3 0 14.4-7.7 14.4-14.4v-.7c1-.6 1.8-1.5 2.5-2.5"/></svg>
2424
</a>
2525
</li>

0 commit comments

Comments
 (0)