Skip to content

🎨 Palette: 비동기 μž‘μ—… λ²„νŠΌμ— aria-busy 속성을 ν†΅ν•œ μ ‘κ·Όμ„±(a11y) κ°œμ„  - #192

Closed
seonghobae wants to merge 1 commit into
mainfrom
palette/aria-busy-buttons-11905636816444366927
Closed

🎨 Palette: 비동기 μž‘μ—… λ²„νŠΌμ— aria-busy 속성을 ν†΅ν•œ μ ‘κ·Όμ„±(a11y) κ°œμ„ #192
seonghobae wants to merge 1 commit into
mainfrom
palette/aria-busy-buttons-11905636816444366927

Conversation

@seonghobae

@seonghobae seonghobae commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Superseded by #162, which already includes this async accessibility behavior.

비동기 λ²„νŠΌ μ•‘μ…˜(submitDocument, loadDemoData, refreshKpiEvidence, retryActiveJob, Details λ²„νŠΌ) μ§„ν–‰ 쀑 ν™”λ©΄ νŒλ…κΈ° μ‚¬μš©μžμ—κ²Œ λ‘œλ”© μƒνƒœλ₯Ό λͺ…ν™•νžˆ μ „λ‹¬ν•˜κΈ° μœ„ν•΄ `aria-busy="true"` 속성을 λ™μ μœΌλ‘œ μΆ”κ°€ 및 μ œκ±°ν•˜λ„λ‘ μˆ˜μ •ν–ˆμŠ΅λ‹ˆλ‹€.
Copilot AI review requested due to automatic review settings July 22, 2026 20:56
@google-labs-jules

Copy link
Copy Markdown

πŸ‘‹ 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 @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves the Clearfolio viewer demo UI’s accessibility by marking key async button actions as β€œbusy” during network work, allowing assistive technologies to detect in-progress state changes (without altering visual rendering).

Changes:

  • Add aria-busy="true" while async work is in-flight for key demo UI actions (submit, load demo, refresh KPI evidence, retry job, and history β€œDetails”).
  • Ensure aria-busy is removed on completion via finally / .finally(...) cleanup.
  • Document the accessibility learning/pattern in .jules/palette.md.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/main/resources/static/assets/viewer/demo.js Adds aria-busy toggling for async button actions and restores original button content/state after completion.
.jules/palette.md Records the new a11y pattern/learning for async button busy-state signaling.

πŸ’‘ Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 153 to 157
openJobDetail(job).finally(() => {
btn.replaceChildren(...initialChildren);
btn.disabled = false;
btn.removeAttribute("aria-busy");
});
Comment thread .jules/palette.md
## 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-05-18 - 비동기 μž‘μ—… 쀑 λ²„νŠΌμ˜ μ ‘κ·Όμ„± κ°œμ„ 
@seonghobae seonghobae closed this Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants