Skip to content

fix(app): add loading states, ARIA accessibility, and error handling#16

Merged
doublesilver merged 2 commits into
mainfrom
fix/frontend-accessibility-ux
Feb 28, 2026
Merged

fix(app): add loading states, ARIA accessibility, and error handling#16
doublesilver merged 2 commits into
mainfrom
fix/frontend-accessibility-ux

Conversation

@doublesilver
Copy link
Copy Markdown
Owner

Summary

  • Add loading state with disabled buttons and dynamic text during async operations
  • Wrap ask() and runAction() in try-catch for network error resilience
  • Add ARIA attributes (aria-live, aria-busy, aria-disabled, aria-labelledby) for screen reader support
  • Switch labels to htmlFor/id pattern for proper form accessibility
  • Add input validation for upload (empty text check)
  • Add hover, focus-visible, active, and disabled styles for buttons and inputs
  • Add .message class for visual status feedback

Test plan

  • npm run build passes with no errors
  • Verify loading state disables buttons during async ops
  • Verify ARIA attributes render correctly in browser DevTools
  • Verify focus-visible outlines on keyboard navigation

🤖 Generated with Claude Code

- Add loading state with disabled buttons and dynamic text during async ops
- Wrap ask() and runAction() in try-catch for network error resilience
- Add ARIA attributes: aria-live, aria-busy, aria-disabled, aria-labelledby
- Switch labels to htmlFor/id pattern for proper form accessibility
- Add input validation for upload (empty text check)
- Add hover, focus-visible, active, and disabled styles for buttons/inputs
- Add .message class for visual feedback on status messages

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
knowledge-copilot Ready Ready Preview, Comment Feb 28, 2026 7:27am

Wrap parentheses and special characters in quotes to fix
GitHub Mermaid rendering parse errors.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@doublesilver doublesilver merged commit a831366 into main Feb 28, 2026
5 checks passed
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.

1 participant