Commit 3834be6
fix(agents-server-ui): keep token/model detail in the gauge's aria-label [review #4596]
Switching the indicator to a HoverCard moved the token/window/model detail into
hover-only popover content, so the trigger's aria-label dropped to just the
percent — a small accessibility regression for keyboard/screen-reader users, who
could previously read those numbers from the old Tooltip's label. Restore the
`<used> / <window> tokens · <model>` summary to the trigger's own aria-label.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 5dd6e3b commit 3834be6
1 file changed
Lines changed: 11 additions & 1 deletion
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
85 | 95 | | |
86 | 96 | | |
87 | 97 | | |
| |||
91 | 101 | | |
92 | 102 | | |
93 | 103 | | |
94 | | - | |
| 104 | + | |
95 | 105 | | |
96 | 106 | | |
97 | 107 | | |
| |||
0 commit comments