Commit 1792216
committed
Accessibility/CSS: Add missing focus indicators
- Add `:focus` rules with `border-color` + `box-shadow` to `SearchDialog` inputs (`.name-input`, `.filter-select`, `.filter-input`) and `CommandPalette` search input
- Change `.name-input` from `border: none` to `border: 1px solid transparent` so the focus border is visible
- Document focus indicator pattern in `design-system.md`: standard input pattern, element-type table, `:focus` vs `:focus-visible` rationale
- Update app rule #6 to reference the new focus indicators section1 parent 57e2d23 commit 1792216
3 files changed
Lines changed: 42 additions & 2 deletions
File tree
- apps/desktop/src/lib
- command-palette
- search
- docs
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
234 | 239 | | |
235 | 240 | | |
236 | 241 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
866 | 866 | | |
867 | 867 | | |
868 | 868 | | |
869 | | - | |
| 869 | + | |
870 | 870 | | |
871 | 871 | | |
872 | 872 | | |
873 | 873 | | |
874 | 874 | | |
875 | 875 | | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
876 | 881 | | |
877 | 882 | | |
878 | 883 | | |
| |||
985 | 990 | | |
986 | 991 | | |
987 | 992 | | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
988 | 998 | | |
989 | 999 | | |
990 | 1000 | | |
| |||
996 | 1006 | | |
997 | 1007 | | |
998 | 1008 | | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
999 | 1014 | | |
1000 | 1015 | | |
1001 | 1016 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
339 | 359 | | |
340 | 360 | | |
341 | 361 | | |
| |||
535 | 555 | | |
536 | 556 | | |
537 | 557 | | |
538 | | - | |
| 558 | + | |
539 | 559 | | |
540 | 560 | | |
541 | 561 | | |
| |||
0 commit comments