Skip to content

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

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

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

Conversation

@seonghobae

Copy link
Copy Markdown
Collaborator

πŸ’‘ What: 비동기 λ„€νŠΈμ›Œν¬ μš”μ²­μ„ μˆ˜ν–‰ν•˜λŠ” 5개의 μ£Όμš” λ²„νŠΌ μ•‘μ…˜(submitDocument, loadDemoData, refreshKpiEvidence, retryActiveJob, 및 Table Action의 Details λ²„νŠΌ)에 λŒ€ν•΄, λ‘œλ”© 쀑 μƒνƒœλ₯Ό λ‚˜νƒ€λ‚΄λŠ” aria-busy="true" 속성을 λ™μ μœΌλ‘œ μΆ”κ°€ν•˜κ³  finally λΈ”λ‘μ—μ„œ μ•ˆμ „ν•˜κ²Œ μ œκ±°ν•˜λŠ” κΈ°λŠ₯을 κ΅¬ν˜„ν–ˆμŠ΅λ‹ˆλ‹€.

🎯 Why: κΈ°μ‘΄μ—λŠ” 비동기 μž‘μ—… μ‹œ λ²„νŠΌμ„ λΉ„ν™œμ„±ν™”(disabled=true)ν•˜κ³  ν…μŠ€νŠΈλ§Œ λ³€κ²½ν–ˆκΈ° λ•Œλ¬Έμ—, ν™”λ©΄ νŒλ…κΈ°(Screen Reader)λ₯Ό μ‚¬μš©ν•˜λŠ” μ‹œκ° μž₯애인 μ‚¬μš©μžμ—κ²Œ μš”μ†Œκ°€ ν˜„μž¬ λ‘œλ”© μ€‘μ΄λΌλŠ” μƒνƒœ λ³€ν™”κ°€ λͺ…ν™•ν•˜κ²Œ μ „λ‹¬λ˜μ§€ μ•ŠλŠ” μ ‘κ·Όμ„± λ¬Έμ œκ°€ μžˆμ—ˆμŠ΅λ‹ˆλ‹€. aria-busy 속성을 λͺ…μ‹œν•¨μœΌλ‘œμ¨ 보쑰 기술 κΈ°κΈ°κ°€ μ‚¬μš©μžμ—κ²Œ ν˜„μž¬ μž‘μ—… μƒνƒœλ₯Ό μ •ν™•ν•˜κ²Œ μ•ˆλ‚΄ν•  수 μžˆμŠ΅λ‹ˆλ‹€.

πŸ“Έ Before/After: μ‹œκ°μ μΈ λ Œλ”λ§ λ³€κ²½ 사항은 μ—†μœΌλ‚˜, DOM μš”μ†Œμ— aria-busy="true" 속성이 μΆ”κ°€λ˜λŠ” 것을 Playwright ν…ŒμŠ€νŠΈ 및 μŠ€ν¬λ¦°μƒ·μœΌλ‘œ 검증 μ™„λ£Œν–ˆμŠ΅λ‹ˆλ‹€.

β™Ώ Accessibility: 보쑰 기술 기기에 비동기 처리 μƒνƒœλ₯Ό μ‹€μ‹œκ°„μœΌλ‘œ μ•Œλ €μ£Όμ–΄ μ „λ°˜μ μΈ μΈν„°λž™μ…˜ 접근성이 크게 ν–₯μƒλ˜μ—ˆμŠ΅λ‹ˆλ‹€.


PR created automatically by Jules for task 11905636816444366927 started by @seonghobae

비동기 λ²„νŠΌ μ•‘μ…˜(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 - 비동기 μž‘μ—… 쀑 λ²„νŠΌμ˜ μ ‘κ·Όμ„± κ°œμ„ 
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