๐จ Palette: ๋น๋๊ธฐ ์์ ๋ฒํผ aria-busy ์ง์์ผ๋ก ์ ๊ทผ์ฑ ํฅ์ - #187
๐จ Palette: ๋น๋๊ธฐ ์์
๋ฒํผ aria-busy ์ง์์ผ๋ก ์ ๊ทผ์ฑ ํฅ์#187seonghobae wants to merge 1 commit into
Conversation
- `submitDocument`, `loadDemoData`, `refreshKpiEvidence`, `retryActiveJob` ํจ์์์ ์์ ์ค ๋ฒํผ์ `aria-busy="true"` ์์ฑ ๋ถ์ฌ - ์คํฌ๋ฆฐ ๋ฆฌ๋ ์ฌ์ฉ์์๊ฒ ํ์ฌ ๋ฐ์ดํฐ ์์ฒญ ๋ฑ ์์ ์ด ์งํ ์ค์์ ๋ช ํํ๊ฒ ์๋ฆฌ๋๋ก ๊ฐ์ - `.jules/palette.md` ํ์ผ์ ์ ๊ทผ์ฑ ๊ด๋ จ ํ์ต ๋ด์ฉ ์ถ๊ฐ (append)
|
๐ 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
This PR improves the Clearfolio viewer demo UI accessibility by marking async-action buttons as โbusyโ for screen reader users during in-flight network operations, and records the pattern in the Jules palette journal.
Changes:
- Add
aria-busy="true"to async-action buttons at the start ofsubmitDocument,loadDemoData,refreshKpiEvidence, andretryActiveJob. - Ensure
aria-busyis removed in each functionโsfinallyblock after completion (success or error). - Document the accessibility pattern in
.jules/palette.md.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
src/main/resources/static/assets/viewer/demo.js |
Adds/removes aria-busy on async buttons to communicate loading state to assistive tech. |
.jules/palette.md |
Adds a journal entry describing the aria-busy pattern for async button workflows. |
๐ก Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| ## 2026-07-13 - Async Table Actions UX | ||
| **Learning:** Adding explicit loading and disabled states to table action buttons that invoke asynchronous processes helps prevent redundant API calls and visually assures the user that their request is being handled. | ||
| **Action:** Consistently apply `disabled` state and `Loading...` text changes to inline table action buttons linked to async workflows, and carefully preserve underlying DOM structures with `Array.from(btn.childNodes)` during the loading cycle to avoid rendering regressions. | ||
| ## 2024-07-21 - ๋น๋๊ธฐ ์์ ์ค ์คํฌ๋ฆฐ ๋ฆฌ๋๋ฅผ ์ํ aria-busy ํ์ฉ |
Superseded by #162, which already contains this accessibility change.