Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .Jules/palette.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

## 2026-02-03 - Selection Button Accessibility
**Learning:** Standard HTML buttons used for selection grids often miss `aria-pressed`, leaving screen reader users guessing about the state. `type="button"` is also frequently omitted.
**Action:** Always add `aria-pressed` to custom selection buttons and ensure `type="button"` is present.
2 changes: 2 additions & 0 deletions frontend/src/components/game/VotingPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ export function VotingPanel({
>
{alivePlayers.map((player: Player) => (
<button
type="button"
aria-pressed={selectedTarget === player.id}
key={player.id}
onClick={() => setSelectedTarget(player.id)}
style={{
Expand Down