1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-01 17:38:37 +00:00

improve page-header a11y

add nav landmark for links
labeling the purpose of nav in page-header
labeling the meaning of total number in page-header title
This commit is contained in:
krvpb024 2024-01-23 10:42:10 +08:00 committed by Frédéric Guillot
parent 9980634e5d
commit b568b1d41d
30 changed files with 419 additions and 217 deletions

View file

@ -50,6 +50,20 @@ a:hover {
text-decoration: none;
}
.sr-only {
border: 0 !important;
clip: rect(1px, 1px, 1px, 1px) !important;
-webkit-clip-path: inset(50%) !important;
clip-path: inset(50%) !important;
height: 1px !important;
overflow: hidden !important;
margin: -1px !important;
padding: 0 !important;
position: absolute !important;
width: 1px !important;
white-space: nowrap !important;
}
/* Header and main menu */
.header {
margin-top: 10px;