Accessibility: use buttons

Part of #960.
This commit is contained in:
Simon Pieters 2022-04-29 00:00:16 +02:00
parent 13bd50edad
commit 5d40cb8e79
2 changed files with 27 additions and 2 deletions

View file

@ -62,6 +62,31 @@ div.modalTerminal p {
text-align: center;
}
.visuallyHidden {
clip: rect(0 0 0 0);
clip-path: inset(50%);
height: 1px;
overflow: hidden;
position: absolute;
white-space: nowrap;
width: 1px;
}
.noStyle {
padding: 0;
border: none;
background: transparent;
color: inherit;
font: inherit;
letter-spacing: inherit;
word-spacing: inherit;
line-height: inherit;
text-transform: inherit;
text-indent: inherit;
text-shadow: inherit;
appearance: none;
}
/* Box Model */
html,
body,
@ -1295,4 +1320,4 @@ div.gitDemonstrationView {
bottom: 0px;
left: 21px;
opacity: 0.4;
}
}