1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-07-13 01:30:59 +02:00

Fix a few accessibility violations (#2547)

* Add chrome.css and general.css to override default css file. This is
necessary to fix links without underline (hyperlinks relying only on
color).
* Fix pop-out button without id and wrong ARIA-ROLE
* Speaker's notes now at correct heading sequence (H3)
This commit is contained in:
Henri F.
2025-01-15 19:11:19 -08:00
committed by GitHub
parent aa548f4431
commit f95c28f9a7
5 changed files with 970 additions and 8 deletions

View File

@ -5,16 +5,17 @@
padding: 0.25em;
}
.content details summary h4 {
.content details summary h3 {
display: inline-block;
list-style: none;
font-weight: normal;
font-style: italic;
font-size: 1.6rem;
margin: 0.5em 0.25em;
cursor: pointer;
}
.content details summary h4:target::before {
.content details summary h3:target::before {
margin-left: -40px;
width: 40px;
}