Skip to content

fix(a11y): expose refreshing state via aria-busy on OracleDataWidget … - #660

Merged
nonsobethel0-dev merged 1 commit into
Parashield-Protocol:mainfrom
stephaniepez21-art:fix/issue-619-oracle-aria-busy
Sep 30, 2026
Merged

nonsobethel0-dev merged 1 commit into
Parashield-Protocol:mainfrom
stephaniepez21-art:fix/issue-619-oracle-aria-busy

Conversation

@stephaniepez21-art

Copy link
Copy Markdown
Contributor

Closes #619

Summary

The OracleDataWidget refresh/retry buttons already change their label while a
refresh is in flight ("↻ Refreshing…", "Retrying…"), but that state was purely
visual — no programmatic signal for assistive technology. This adds
aria-busy={refreshing} to both buttons, exactly as suggested in the issue:

  • the refresh button in the no-data state ("↻ Refresh / ↻ Refreshing…")
  • the retry button in the error state ("Retry / Retrying…")

Testing

  • Added src/__tests__/OracleDataWidget.a11y.test.tsx: idle → aria-busy="false",
    "true" while refetch is pending, back to "false" after it resolves (both buttons).
  • OracleDataWidget.test.tsx (14 pre-existing) + 3 new a11y tests: 17/17 passing.
  • Full suite has pre-existing failures unrelated to this change (verified against a
    clean tree; none touch OracleDataWidget).

…buttons

The refresh ("↻ Refreshing…") and retry ("Retrying…") buttons already
show a busy label, but screen readers had no programmatic signal that
the widget was refreshing. Adds aria-busy={refreshing} to both buttons
so assistive tech announces the loading state (upstream issue Parashield-Protocol#619).

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@drips-wave

drips-wave Bot commented Sep 29, 2026

Copy link
Copy Markdown

@stephaniepez21-art 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

@netlify

netlify Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

❌ Deploy Preview for boisterous-sunshine-dd4c4c failed.

Name Link
🔨 Latest commit 9fd33ec
🔍 Latest deploy log https://app.netlify.com/projects/boisterous-sunshine-dd4c4c/deploys/6abc2c5b7b80750008521483

@nonsobethel0-dev
nonsobethel0-dev merged commit bf98bfc into Parashield-Protocol:main Sep 30, 2026
0 of 4 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.

[a11y] OracleDataWidget refresh button missing aria-busy during refresh

2 participants