๐จ Palette: [UX improvement] ๋ชจ๋ฌ ๋ฒํผ๋ค์ aria-label ์ถ๊ฐ๋ก ์คํฌ๋ฆฐ ๋ฆฌ๋ ์ ๊ทผ์ฑ ๊ฐ์ #661
๐จ Palette: [UX improvement] ๋ชจ๋ฌ ๋ฒํผ๋ค์ aria-label ์ถ๊ฐ๋ก ์คํฌ๋ฆฐ ๋ฆฌ๋ ์ ๊ทผ์ฑ ๊ฐ์ #661seonghobae wants to merge 1 commit into
Conversation
* ๋ชจ๋ฌ(`EditEdgeModal`, `EditTableModal`) ๋ด ์ผ๋ฐ์ ์ธ ๋ชฉ์ ์ ๋ฒํผ(์ญ์ , ์ทจ์, ์ ์ฅ, ๋ณต์ )์ ๋์ ์ธ `aria-label` ์ถ๊ฐ * ์คํฌ๋ฆฐ ๋ฆฌ๋ ์ฌ์ฉ์๊ฐ ํด๋น ๋ฒํผ์ด ์ด๋ค ์ปจํ ์คํธ์์ ๋์ํ๋์ง ๋ช ํํ ์ธ์งํ ์ ์๋๋ก ์ปจํ ์คํธ ์ ๋ณด ํฌํจ * ๊ด๋ จ ํ๋ก ํธ์๋ ํ ์คํธ ์ฝ๋ ์ ๋ฐ์ดํธ ๋ฐ ํต๊ณผ ํ์ธ
|
๐ 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. |
|
Warning Review limit reached
Next review available in: 24 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review detailsโ๏ธ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: ๐ Files selected for processing (5)
โจ Finishing Touches๐งช Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Pull request overview
Adds more descriptive, context-aware accessible names for modal action buttons so screen reader users can distinguish generic actions (์ญ์ /์ ์ฅ/์ทจ์/๋ณต์ ) by the table/relationship context, and updates tests and the palette log accordingly.
Changes:
- Add contextual
aria-labelattributes to action buttons inEditEdgeModalandEditTableModal. - Update modal-related frontend tests to assert against the new accessible button names.
- Record the accessibility learning/action in
.jules/palette.md.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| frontend/src/components/modals/ModalCoverage.test.tsx | Updates role/name queries to match new contextual aria-label accessible names. |
| frontend/src/components/modals/EditTableModal.tsx | Adds contextual aria-labels for delete/duplicate/save/cancel actions in the table edit modal. |
| frontend/src/components/modals/EditTableModal.test.tsx | Updates the duplication test to click by the new contextual accessible name. |
| frontend/src/components/modals/EditEdgeModal.tsx | Adds contextual aria-labels for delete/save/cancel actions in the edge edit modal. |
| .jules/palette.md | Documents the new accessibility guideline/learning for modal button labeling. |
๐ก Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| <button type="button" onClick={onEditTableCancel} aria-label="ํ ์ด๋ธ ํธ์ง ์ทจ์">์ทจ์</button> | ||
| <button | ||
| type="submit" | ||
| form="editTableForm" | ||
| style={{ background: "#034ea2", color: "#fff" }} | ||
| aria-label={`${editingNode.data.title} ํ ์ด๋ธ ์ ์ฅ`} | ||
| > |
| ## 2026-07-27 - [Descriptive ARIA labels for modal buttons] | ||
| **Learning:** Adding dynamic, contextual `aria-label` attributes to generic buttons (like Save, Cancel, Delete) inside modals significantly improves screen reader navigation and clarity, ensuring users understand exactly what action they are taking. | ||
| **Action:** Always provide contextual `aria-label`s for generic action buttons in dialogs using dynamic data like node or edge names. |
๐ก What:
EditEdgeModal๊ณผEditTableModal๋ด๋ถ์ ๋ฒํผ("์ญ์ ", "์ทจ์", "์ ์ฅ", "๋ณต์ " ๋ฑ)์ ์ปจํ ์คํธ ์ ๋ณด๋ฅผ ํฌํจํaria-label์ ์ถ๊ฐํ์ต๋๋ค. (์:aria-label="test_table ํ ์ด๋ธ ์ญ์ ") ๊ด๋ จ ํ๋ก ํธ์๋ ํ ์คํธ ์ฝ๋(EditTableModal.test.tsx,ModalCoverage.test.tsx) ๋ํ ๋ณ๊ฒฝ๋ aria-label์ ๋ง์ถฐ ๊ฒ์ฆํ๋๋ก ์์ ํ์ต๋๋ค.๐ฏ Why: ์ผ๋ฐ์ ์ธ "์ญ์ ", "์ ์ฅ" ๋ฒํผ์ ์คํฌ๋ฆฐ ๋ฆฌ๋๋ก ์ ๊ทผํ์ ๋ ๋ฌธ๋งฅ์ด ๋ถ์กฑํ์ฌ ์ฌ์ฉ์๊ฐ ์ด๋ค ๋ฐ์ดํฐ๋ฅผ ๋ณ๊ฒฝํ๋์ง ์ธ์งํ๊ธฐ ์ด๋ ต์ต๋๋ค. ์ด๋ฅผ ๊ฐ์ ํ์ฌ ๋ชจ๋ฌ์ ์ ๊ทผ์ฑ์ ๋์ด๊ธฐ ์ํจ์ ๋๋ค.
โฟ Accessibility: ์ก์ ๋ฒํผ์ ๋์ ๋ฐ์ดํฐ๋ฅผ ์ฃผ์ ํ
aria-label์ถ๊ฐ๋ก ์คํฌ๋ฆฐ ๋ฆฌ๋ ๋ด๋น๊ฒ์ด์ ๋ช ํ์ฑ ๊ฐ์ .PR created automatically by Jules for task 13596676413572164701 started by @seonghobae