🎨 Palette: [UX improvement] Add context to generic action buttons in EditEdgeModal#625
Conversation
…odal
💡 What: Added context-specific aria-label attributes ("관계 삭제", "관계 설정 취소", "관계 저장") to the generic action buttons in the EditEdgeModal.
🎯 Why: Generic button names like "삭제" and "취소" lack sufficient context for screen reader users, especially when multiple modals can appear.
📸 Before/After: Visuals remain unchanged, but screen readers will now announce "관계 삭제" instead of just "삭제".
♿ Accessibility: Improves accessibility by providing meaningful accessible names for destructive and general form actions.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
There was a problem hiding this comment.
Pull request overview
Improves accessibility of the relationship editing modal by giving generic action buttons context-specific accessible names, reducing ambiguity for screen reader users and keeping tests aligned with the updated accessible button names.
Changes:
- Added context-specific
aria-labelvalues to Delete/Cancel/Save buttons inEditEdgeModal. - Updated modal coverage tests to query buttons by their new accessible names.
- Documented the accessibility rationale/pattern in the palette notes.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| frontend/src/components/modals/EditEdgeModal.tsx | Adds contextual aria-labels to generic modal action buttons (“삭제/취소/저장”). |
| frontend/src/components/modals/ModalCoverage.test.tsx | Updates queries to match the buttons’ new accessible names. |
| .Jules/palette.md | Records the accessibility learning/pattern for future modal work. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Added context-specific aria-label attributes to the generic action buttons in the EditEdgeModal to improve screen reader accessibility. Also updated corresponding tests.
PR created automatically by Jules for task 17155883334527711149 started by @seonghobae