Commit b965372
authored
fix(sessions): make compaction progress bar decorative for a11y
React Doctor flagged the indeterminate compaction bar for using role="progressbar" on a div (prefer-tag-over-role). The bar is decorative — its status is already carried by the visible "Compacting conversation history..." text and the spinner — so drop the role/aria-label and mark it aria-hidden, matching the existing quill-section-loading swoop loader and the decorative spinners in the same feature.
Generated-By: PostHog Code
Task-Id: 1a85695f-6d34-4d9c-9a78-c2f4c836acf41 parent 9a9b236 commit b965372
1 file changed
Lines changed: 2 additions & 5 deletions
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
| 153 | + | |
| 154 | + | |
158 | 155 | | |
159 | 156 | | |
160 | 157 | | |
0 commit comments