- check content for reading level
- check content in screen-reader
- don't write content to help screen-readers
- avoid title attributes
- all images have an appropriate alt attribute
- only one h1
- title matches h1
If you are using the Laptop layout, the default Orca Modifier will be CapsLock If you are using the Desktop layout, the Orca Modifier will be both Insert and KeyPad Insert, the latter being the same key as KeyPad 0.
Win + Alt + s = On/off
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h1, h2, h3, h4, h5, h6 { | |
outline: 1px solid red!important; | |
} | |
h1:after { | |
content: "h1"; | |
background: gold; | |
color: black; | |
padding: 0.2em; | |
font-size: 14px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// --------------------------------------------------- | |
// Introduce direct skip link control, to work around voiceover failing of hash links | |
// https://bugs.webkit.org/show_bug.cgi?id=179011 | |
// https://axesslab.com/skip-links/ | |
// --------------------------------------------------- | |
$('.skiplink').click(function(e) { | |
e.preventDefault(); | |
$(':header:first').attr('tabindex', '-1').focus(); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// =========================== | |
// UPDATE MAY 2020 | |
// A bug with Voiceover is currently hiding details elements from the Rotor when using the native details element | |
// The Elements polyfill is being used to by-pass this bug and add in additional aria information missing in the current GOVUK Frontend version | |
// =========================== | |
// This is the Elements details polyfill updated to ensure focussable elements inside it are not exposed | |
// This is accomplished by adding display none to the internal content wrapper. | |
// <details> polyfill |
OlderNewer