fix: minor a11y warnings

This commit is contained in:
Nicola Zambello 2023-07-18 19:03:07 +02:00
parent 331860bbb1
commit 9f012b4031
Signed by: nzambello
GPG key ID: 56E4A92C2C1E50BA
2 changed files with 8 additions and 2 deletions

View file

@ -40,7 +40,7 @@
</figure> </figure>
<figure> <figure>
<svg aria-label="Plone" viewBox="0 0 41 41" fill="none" xmlns="http://www.w3.org/2000/svg"> <svg aria-label="Plone" viewBox="0 0 41 41" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_1_2)"> <g clip-path="url(#clip0_1_2_1)">
<path <path
d="M17.717 15.963C20.1482 15.963 22.119 13.9922 22.119 11.561C22.119 9.12984 20.1482 7.159 17.717 7.159C15.2858 7.159 13.315 9.12984 13.315 11.561C13.315 13.9922 15.2858 15.963 17.717 15.963Z" d="M17.717 15.963C20.1482 15.963 22.119 13.9922 22.119 11.561C22.119 9.12984 20.1482 7.159 17.717 7.159C15.2858 7.159 13.315 9.12984 13.315 11.561C13.315 13.9922 15.2858 15.963 17.717 15.963Z"
fill="#0083BE"></path> fill="#0083BE"></path>
@ -55,7 +55,7 @@
fill="#0083BE"></path> fill="#0083BE"></path>
</g> </g>
<defs> <defs>
<clipPath id="clip0_1_2"> <clipPath id="clip0_1_2_1">
<rect width="40.686" height="40.686" fill="white"></rect> <rect width="40.686" height="40.686" fill="white"></rect>
</clipPath> </clipPath>
</defs> </defs>

View file

@ -140,6 +140,7 @@ article {
--card-background-color: var(--background-color); --card-background-color: var(--background-color);
} }
a[role="button"], a[role="button"],
button { button {
--box-shadow: .25rem .25rem 0.5rem var(--neumorph-shadow-darker), -.25rem -.25rem 0.5rem var(--neumorph-shadow-lighter); --box-shadow: .25rem .25rem 0.5rem var(--neumorph-shadow-darker), -.25rem -.25rem 0.5rem var(--neumorph-shadow-lighter);
@ -183,3 +184,8 @@ code {
font-family: 'Fira Code VF', monospace; font-family: 'Fira Code VF', monospace;
} }
} }
article a,
details a {
text-decoration: underline;
}