Commit d86b34c
fix(queue): optimistic shuffle toggle and aria-pressed for accessibility
toggleShuffle now sets this.shuffle before the backend call (like
cycleLoop does for loop mode), reverting on failure. Add aria-pressed
to the shuffle button so the E2E accessibility test detects state change.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 060ca76 commit d86b34c
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
| 515 | + | |
| 516 | + | |
515 | 517 | | |
516 | | - | |
| 518 | + | |
517 | 519 | | |
518 | 520 | | |
519 | 521 | | |
| 522 | + | |
520 | 523 | | |
521 | 524 | | |
522 | 525 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
154 | 155 | | |
155 | 156 | | |
156 | 157 | | |
| |||
0 commit comments