-
Notifications
You must be signed in to change notification settings - Fork 0
123 improve keyboard and screen reader accessibility #124
Merged
helenul
merged 4 commits into
main
from
123-improve-keyboard-and-screen-reader-accessibility
Nov 11, 2026
+142
−15
Merged
Changes from 3 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
db16bbe
add a skip link for keyboard navigation and translate aria-labels
helenul 669f506
update tests for skip link and translated aria-labels
helenul 1778c63
add documentation for skip link and translated aria-labels
helenul 60ffaa6
adjust description of manual testing
helenul File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| /* Hidden above the page until it gets focus with Tab */ | ||
| .skip-link { | ||
| position: absolute; | ||
| top: 0.5rem; | ||
| left: 0.5rem; | ||
| z-index: 1000; | ||
| padding: 0.75rem 1rem; | ||
| border-radius: 8px; | ||
| background-color: var(--dark-green); | ||
| color: var(--text-on-green); | ||
| font-family: var(--font-ui); | ||
| text-decoration: none; | ||
| transform: translateY(-200%); | ||
| } | ||
|
|
||
| .skip-link:focus { | ||
| transform: translateY(0); | ||
| outline: 2px solid var(--dark-green); | ||
| outline-offset: 2px; | ||
| } | ||
|
|
||
| /* The main content gets focus from the skip link, but should not show a ring | ||
| around the whole page. The first element inside shows its own ring on Tab. */ | ||
| .main-content:focus { | ||
| outline: none; | ||
| } | ||
|
|
||
| /* Only used to move focus to the top of the page, so it should not show a ring */ | ||
| .page-start:focus { | ||
| outline: none; | ||
| } |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.