tabindex, style :focus et bug associés pour accesibilité clavier (et visuelle au passage)

This commit is contained in:
vgaNAR6ta committed 2026-09-28 22:35:45 +02:00
1 parent 210b06d20f
commit 8639e7769f
6 files changed
+100 -39

No files matched your search

+48 -7
View File
@@ -158,6 +158,10 @@ main{
address {
margin-bottom: 2em;
}
ul li a:focus{
filter: hue-rotate(180deg);
}
}
aside{
@@ -184,7 +188,7 @@ main{
cursor: url(../assets/cursor/msg.png) 2 16 , auto;
}
#openMsg:hover{
#openMsg:hover, #openMsg:focus{
animation: none;
}
@@ -373,6 +377,14 @@ main{
}
}
a:focus, a:hover{
background-color: var(--back-color);
img{
filter: invert();
}
}
}
#adhesionSection{
@@ -583,6 +595,10 @@ main{
border-color: var(--back-color);
}
.solidBox:has(details){
overflow: hidden;
}
.solidBox:has(details[open]){
color: var(--back-color);
background-color: var(--main-color);
@@ -595,6 +611,10 @@ main{
margin-right: 16.1px;
width: calc(100% - 32.2px);
summary{
background-color: var(--main-color);
}
}
article:first-of-type,
@@ -652,13 +672,14 @@ main{
box-sizing: border-box;
list-style-type: none;
padding: 16.1px;
background-color: var(--back-color);
cursor: url(../assets/cursor/default.png) 2 16 , auto;
cursor: url(../assets/cursor/details.png) 2 16 , auto;
}
&:not([open]) summary{
cursor: url(../assets/cursor/default.png) 2 16 , auto;
cursor: url(../assets/cursor/details.png) 2 16 , auto;
}
article{
@@ -666,8 +687,17 @@ main{
text-transform: none;
}
}
summary:hover{
background-color: var(--main-color);
}
summary:focus{
filter: hue-rotate(180deg);
}
}
}
}
#webRingSection{
width: 100%;
@@ -680,15 +710,22 @@ main{
border-style: solid;
border-width: thin 0 0 0;
grid-template-columns: repeat(4, 1fr);
box-sizing: border-box;
gap: 7.77px;
a{
width: 100%;
height: 31px;
height: 100%;
display: flex;
flex-direction: row;
align-items: flex-end;
margin-top: 3.33px;
transition: 0.333s;
img{
width: 100%;
image-rendering: pixelated;
}
.needOutline{
@@ -698,6 +735,10 @@ main{
}
}
a:focus, a:hover{
margin-top: -7.77px;
}
}
}