Skip to content

feat: ensure a11y ARIA compliance for loading_spinner_skeleton (#273) - #386

Merged
godamongstmen897 merged 2 commits into
Goldii-locks:mainfrom
Junirezz:feat/273-loading-skeleton-a11y
Sep 1, 2026
Merged

feat: ensure a11y ARIA compliance for loading_spinner_skeleton (#273)#386
godamongstmen897 merged 2 commits into
Goldii-locks:mainfrom
Junirezz:feat/273-loading-skeleton-a11y

Conversation

@Junirezz

Copy link
Copy Markdown

Closes #273

Summary

Audited and strengthened the LoadingSkeleton component's ARIA compliance and accessibility.

Changes

  • Added aria-busy="true" to advertise the in-progress loading state to assistive technology (role="status" + aria-live="polite" retained on the default variant)
  • Added motion-reduce:animate-none and motion-reduce:transition-none so the pulse/fade animations are disabled under prefers-reduced-motion
  • Preserved the existing keyboard navigability (focusable interactive variant, Enter/Space handling, focus-visible ring, disabled tabindex=-1)
  • Preserved the aria-hidden="true" visual skeleton and the sr-only accessible loading message

Verification

  • Added __tests__/loading-skeleton-a11y.test.tsx (15 tests) covering ARIA semantics, reduced-motion compliance, keyboard navigability, accessible names, and color-contrast tokens
  • All existing tests continue to pass (2045 tests / 123 files)

…i-locks#273)

- Add aria-busy to advertise the in-progress loading state
- Add motion-reduce variants to disable pulse/fade animations
- Preserve role=status, aria-live, sr-only message, and keyboard support
- Add tests covering ARIA semantics, reduced motion, and keyboard nav
@drips-wave

drips-wave Bot commented Aug 31, 2026

Copy link
Copy Markdown

@Junirezz Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@godamongstmen897
godamongstmen897 merged commit d7b9590 into Goldii-locks:main Sep 1, 2026
1 check 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.

Ensure a11y ARIA attribute compliance for loading_spinner_skeleton

2 participants