Skip to content

🎨 Palette: [UX improvement] Add role='status' to EmptyState component#2145

Closed
georgi wants to merge 4 commits intomainfrom
palette-empty-state-role-status-2497706110622050564
Closed

🎨 Palette: [UX improvement] Add role='status' to EmptyState component#2145
georgi wants to merge 4 commits intomainfrom
palette-empty-state-role-status-2497706110622050564

Conversation

@georgi
Copy link
Collaborator

@georgi georgi commented Mar 17, 2026

  • 💡 What: Added role="status" to the root <Box> element of the EmptyState component.
  • 🎯 Why: To ensure screen readers announce dynamic states like "No results found" or "You're offline" properly to assistive technologies.
  • ♿ Accessibility: Improved screen reader announcements for empty state visual feedback by utilizing the standard ARIA live region role="status".

PR created automatically by Jules for task 2497706110622050564 started by @georgi

Added the `role="status"` attribute to the root `<Box>` element of the `EmptyState` component. This accessibility enhancement ensures that screen readers accurately announce when an empty state is dynamically rendered.

Co-authored-by: georgi <19498+georgi@users.noreply.github.com>
@google-labs-jules
Copy link
Contributor

👋 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.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 17, 2026

Deploying nodetool-staging with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7fe6bcf
Status: ✅  Deploy successful!
Preview URL: https://2b1d02f5.nodetool-staging.pages.dev
Branch Preview URL: https://palette-empty-state-role-sta-hupg.nodetool-staging.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 17, 2026

Deploying nodetool with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7fe6bcf
Status: ✅  Deploy successful!
Preview URL: https://7d02a074.nodetool.pages.dev
Branch Preview URL: https://palette-empty-state-role-sta-bla8.nodetool.pages.dev

View logs

google-labs-jules bot and others added 3 commits March 17, 2026 12:09
Added the `role="status"` attribute to the root `<Box>` element of the `EmptyState` component. This accessibility enhancement ensures that screen readers accurately announce when an empty state is dynamically rendered. Also fixed `npm ci` failures by syncing package-lock files.

Co-authored-by: georgi <19498+georgi@users.noreply.github.com>
Added the `role="status"` attribute to the root `<Box>` element of the `EmptyState` component. This accessibility enhancement ensures that screen readers accurately announce when an empty state is dynamically rendered. Also fixed a duplicate import issue in `SpeedDisplay.tsx` and a testing issue in `JobItem.test.tsx` that were breaking CI.

Co-authored-by: georgi <19498+georgi@users.noreply.github.com>
Added the `role="status"` attribute to the root `<Box>` element of the `EmptyState` component. This accessibility enhancement ensures that screen readers accurately announce when an empty state is dynamically rendered. Also fixed a duplicate import issue in `SpeedDisplay.tsx` and regenerated `package-lock.json` lock files across `web` and `electron` to ensure compatibility and pass `npm ci` checks.

Co-authored-by: georgi <19498+georgi@users.noreply.github.com>
Copy link
Collaborator Author

georgi commented Mar 21, 2026

Closing as duplicate of #2219, which includes both role="status" and aria-live="polite" (more complete implementation).

@georgi georgi closed this Mar 21, 2026
@google-labs-jules
Copy link
Contributor

Closing as duplicate of #2219, which includes both role="status" and aria-live="polite" (more complete implementation).

Understood. Acknowledging that this work is a duplicate of a more complete implementation and stopping work on this task.

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