Skip to content
Merged
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
3 changes: 3 additions & 0 deletions .Jules/palette.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 2026-07-03 - Add ARIA Labels to Diff View Buttons
**Learning:** Adding descriptive aria-label attributes to buttons that contain text (e.g., Undo, Keep) can provide more specific context for screen reader users (e.g., Undo changes, Keep changes) in critical interaction areas like a diff viewer.
**Action:** Consistently evaluate action buttons for screen reader context and add aria-label attributes where the visible text might be too brief or ambiguous out of context.
4 changes: 2 additions & 2 deletions Server/src/diffView/diffView.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
</div>

<div id="choice-buttons" class="choice-buttons">
<button id="undo-button" class="action-button secondary">Undo</button>
<button id="keep-button" class="action-button">Keep</button>
<button id="undo-button" class="action-button secondary" aria-label="Undo changes">Undo</button>
<button id="keep-button" class="action-button" aria-label="Keep changes">Keep</button>
</div>
</div>

Expand Down