diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-17 16:01:57 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-17 16:04:48 +0800 |
commit | 579f9045b982faa593965439b96cc53b204e5b5c (patch) | |
tree | 096338c46f65b606768fe6e66d3d63e2d5068d12 /TODO | |
parent | git_hooks_client.c: Explain the code in more detail (diff) | |
download | forge-579f9045b982faa593965439b96cc53b204e5b5c.tar.gz forge-579f9045b982faa593965439b96cc53b204e5b5c.tar.zst forge-579f9045b982faa593965439b96cc53b204e5b5c.zip |
style.css: Reformat and improve checkbox accessibility
Previously the expandable checkboxes were { display: none; } which made
them impossible to focus via the keyboard. Here we change it to {
opacity: 0; position: absolute; }, so it becomes keyboard-focusable.
Then we add an outline to the <label> when the checkbox is focused so
users could visually identify that the checkbox has been focused.
Diffstat (limited to '')
-rw-r--r-- | TODO | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -10,6 +10,3 @@ * Unit tests * Refactoring other stuff - -Accessibility: -* Those labels in css state machines are not keyboard focusable! |