Commit 0da5381
authored
🤖 feat: add aria-labels to ProjectSidebar and fix path text cutoff (#524)
Added aria-labels to ProjectSidebar components for better screen reader
support and fixed vertical text clipping in path displays.
## Changes
**Accessibility improvements:**
- Added `aria-label` to project expand/collapse buttons
- Added `role="region"` with descriptive labels to workspace list
containers
- Added `aria-label` to workspace selection buttons
- Added `aria-label` to sidebar collapse/expand button
**Text rendering fix:**
Changed `leading-none` to `leading-tight` in path displays (both drag
preview and sidebar). The `leading-none` style set line-height to 1,
which caused vertical text clipping with certain characters,
particularly those with descenders or accents.
_Generated with `cmux`_1 parent 8b9fcd5 commit 0da5381
2 files changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
143 | | - | |
| 144 | + | |
144 | 145 | | |
145 | 146 | | |
146 | 147 | | |
| |||
475 | 476 | | |
476 | 477 | | |
477 | 478 | | |
| 479 | + | |
478 | 480 | | |
479 | 481 | | |
480 | 482 | | |
| |||
494 | 496 | | |
495 | 497 | | |
496 | 498 | | |
497 | | - | |
| 499 | + | |
498 | 500 | | |
499 | 501 | | |
500 | 502 | | |
| |||
549 | 551 | | |
550 | 552 | | |
551 | 553 | | |
552 | | - | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
553 | 559 | | |
554 | 560 | | |
555 | 561 | | |
| |||
635 | 641 | | |
636 | 642 | | |
637 | 643 | | |
| 644 | + | |
638 | 645 | | |
639 | 646 | | |
640 | 647 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
| |||
0 commit comments