hscc

Soure code of <https://hugo.soucy.cc>.
git clone git://soucy.cc/hscc.git
Log | Files | Refs

commit c47b0627f37179b7f40ee8154b36455fd3cf9dd4
parent ecb86929bcff3afc8df728dd7960f4337a43f531
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Thu,  9 Sep 2021 22:29:04 -0400

Set aria-hidden=true to the svg sprite

Diffstat:
Mtemplates/layout.html | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/layout.html b/templates/layout.html @@ -3,7 +3,7 @@ <%- head -%> <% local posttype = posttype or 'default' %> <body class="layout <%- template or posttype -%>" id="t"> - <svg height="0" style="position:absolute" width="0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> + <svg aria-hidden="true" height="0" style="position:absolute" width="0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <symbol id="ico_note" width="24" height="24" fill="none"><path d="M3 2h18v14h-2v2h-2v-2h-2v2h2v2h-2v2H3V2zm2 2v16h8v-6h6V4H5z" fill="currentColor"/></symbol> <symbol id="ico_bookmark" width="24" height="24" fill="none"><path d="M18 2H6v2h12v16h-2v-2h-2v-2h-4v2H8v2H6V2H4v20h4v-2h2v-2h4v2h2v2h4V2h-2z" fill="currentColor"/></symbol> <symbol id="ico_nav" width="24" height="24" fill="none"><path d="M4 6h16v2H4V6zm0 5h16v2H4v-2zm16 5H4v2h16v-2z" fill="currentColor"/></symbol>