From 885a09304d55e5026a5f52bcaed147d1cf11d88d Mon Sep 17 00:00:00 2001 From: Dillon Date: Thu, 5 May 2022 03:59:57 +0800 Subject: [PATCH] feat(accessibility): using aria-hidden=true on an icon font that AT should ignore --- layouts/partials/plugin/icon.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/plugin/icon.html b/layouts/partials/plugin/icon.html index 5bc2a11..c5f98db 100644 --- a/layouts/partials/plugin/icon.html +++ b/layouts/partials/plugin/icon.html @@ -1,5 +1,5 @@ {{- with .Class -}} - + {{- else -}} {{- $src := .Src -}} {{- with .Simpleicons -}} @@ -9,5 +9,5 @@ {{- if (urls.Parse $src).Host | not -}} {{- $src = (resources.Get $src | minify).RelPermalink -}} {{- end -}} - + {{- end -}}