Improve accessibility for links

This commit is contained in:
Edgar P. Burkhart 2023-12-30 09:14:07 +01:00
parent aeb22521f3
commit 17fe61c9c0
Signed by: edpibu
GPG Key ID: 9833D3C5A25BD227
1 changed files with 4 additions and 4 deletions

View File

@ -61,7 +61,8 @@ a {
text-decoration: none; text-decoration: none;
display: inline-block; display: inline-block;
} }
a:hover { a:hover,
a:focus {
text-decoration: underline; text-decoration: underline;
} }
@ -106,12 +107,10 @@ nav ul {
position: relative; position: relative;
} }
nav .skip-link { nav .skip-link {
opacity: 0.8;
font-weight: 300; font-weight: 300;
} }
nav .skip-link:active, nav .skip-link:active,
nav .skip-link:focus { nav .skip-link:focus {
opacity: initial;
font-weight: 500; font-weight: 500;
} }
nav a { nav a {
@ -147,7 +146,8 @@ footer {
font-weight: 650; font-weight: 650;
text-decoration: underline dotted; text-decoration: underline dotted;
} }
.pagination a.cur:hover { .pagination a.cur:hover,
.pagination a.cur:focus {
text-decoration: underline; text-decoration: underline;
} }