You've already forked comprehensive-rust
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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user