diff options
author | ache <ache@ache.one> | 2022-05-03 18:28:35 +0200 |
---|---|---|
committer | ache <ache@ache.one> | 2022-05-03 18:28:35 +0200 |
commit | 2c66e6c5b76ae6b15da3fd43f65b3649cab16c7a (patch) | |
tree | 85484d832c37dc336f37651505387703d98ca995 /src | |
parent | Fix new line (diff) |
Set aria role to SVG
Diffstat (limited to 'src')
-rw-r--r-- | src/img/ache.svg | 2 | ||||
-rw-r--r-- | src/img/lt.svg | 2 | ||||
-rwxr-xr-x | src/img/rss.svg | 6 | ||||
-rw-r--r-- | src/img/twitter.svg | 2 |
4 files changed, 4 insertions, 8 deletions
diff --git a/src/img/ache.svg b/src/img/ache.svg index f797c03..a14b199 100644 --- a/src/img/ache.svg +++ b/src/img/ache.svg @@ -1,4 +1,4 @@ -<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" id="logo-ache"> +<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" id="logo-ache" aria-label="ache: My own logo"> <g transform="scale(0.125)"> <rect width="100" height="100" x="50" y="300" id="rect1" style="fill:#000" /> <rect width="100" height="100" x="50" y="400" id="rect2" style="fill:#000" /> diff --git a/src/img/lt.svg b/src/img/lt.svg index 253bca5..bf84f40 100644 --- a/src/img/lt.svg +++ b/src/img/lt.svg @@ -12,7 +12,7 @@ inkscape:version="1.0.2 (e86c870879, 2021-01-15)" width="70px" height="70px" - sodipodi:docname="lt.svg"> + aria-label="hidden"> <g id="glob"> <path fill="orange" diff --git a/src/img/rss.svg b/src/img/rss.svg index 1d8e286..3ef1dae 100755 --- a/src/img/rss.svg +++ b/src/img/rss.svg @@ -1,8 +1,4 @@ -<?xml version="1.0" encoding="UTF-8"?> -<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 8" width="20" height="20"> - - <title>RSS feed icon</title> - +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 8" width="20" height="20" aria-label="RSS feed icon"> <circle fill="#FA0" cx="2" cy="6" r="1" /> <path fill="#FA0" d="m 1,4 a 3,3 0 0 1 3,3 h 1 a 4,4 0 0 0 -4,-4 z" /> <path fill="#FA0" d="m 1,2 a 5,5 0 0 1 5,5 h 1 a 6,6 0 0 0 -6,-6 z" /> diff --git a/src/img/twitter.svg b/src/img/twitter.svg index 017e4bd..afa376f 100644 --- a/src/img/twitter.svg +++ b/src/img/twitter.svg @@ -1,4 +1,4 @@ -<svg xmlns="http://www.w3.org/2000/svg" aria-label="Twitter" role="img" viewBox="0 0 512 512" width="20" height="20"> +<svg xmlns="http://www.w3.org/2000/svg" aria-label="Twitter" viewBox="0 0 512 512" width="20" height="20"> <desc>Twitter Logo</desc> <rect width="512" height="512" rx="15%" fill="#1da1f2"/> <path fill="#fff" d="M437 152a72 72 0 01-40 12a72 72 0 0032-40a72 72 0 01-45 17a72 72 0 00-122 65a200 200 0 01-145-74a72 72 0 0022 94a72 72 0 01-32-7a72 72 0 0056 69a72 72 0 01-32 1a72 72 0 0067 50a200 200 0 01-105 29a200 200 0 00309-179a200 200 0 0035-37"/> |