Kaynağa Gözat

Fix HTML syntax for aria-hidden attribute (#148)

* Add a value to the aria-hidden attribute

* Add myself to contributors list
Paul Lettington 6 yıl önce
ebeveyn
işleme
1d333308a3
2 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 2 1
      CONTRIBUTORS.md
  2. 1 1
      layouts/partials/home.html

+ 2 - 1
CONTRIBUTORS.md

@@ -30,4 +30,5 @@
 - [Artem Khvastunov](https://artspb.me)
 - [Gabriel Nepomuceno] (https://blog.nepomuceno.me)
 - [Salvatore Giordano] (https://salvatore-giordano.github.io)
-- [Jeffrey Carpenter](https://uvolabs.me)
+- [Jeffrey Carpenter](https://uvolabs.me)
+- [Paul Lettington](https://github.com/plett)

+ 1 - 1
layouts/partials/home.html

@@ -11,7 +11,7 @@
         {{ if .icon }}
           <li>
             <a href="{{ .url }}" aria-label="{{ .name }}">
-              <i class="{{ .icon }}" aria-hidden></i>
+              <i class="{{ .icon }}" aria-hidden="true"></i>
             </a>
           </li>
         {{ else }}