Skip to content

🎨 Palette: UX and Accessibility Improvements#75

Merged
github-actions[bot] merged 1 commit intomainfrom
palette-ux-a11y-improvements-1225850518857950021
Mar 30, 2026
Merged

🎨 Palette: UX and Accessibility Improvements#75
github-actions[bot] merged 1 commit intomainfrom
palette-ux-a11y-improvements-1225850518857950021

Conversation

@administrakt0r
Copy link
Copy Markdown
Owner

I've implemented several accessibility and UX enhancements:

  1. Blog Grid Refactoring: Improved the blog cards by moving away from onClick handlers on div elements to a "stretched link" pattern using Next.js Link. This makes the entire card clickable while being semantically correct and accessible. I also made the category badges focusable buttons.
  2. Contact Form Accessibility: Added aria-required="true" to required fields and an aria-live="polite" status region to the success message, ensuring screen reader users are notified when a message is successfully sent.
  3. Header Polish: Added a tooltip to the mobile menu trigger to match the "Get in Touch" and "Theme Toggle" buttons, improving clarity for icon-only actions.

All changes were verified with pnpm lint, pnpm check-types, and a full production build. I also performed frontend verification using Playwright to ensure the new patterns work as expected.


PR created automatically by Jules for task 1225850518857950021 started by @administrakt0r

…t Form

This PR enhances the accessibility and user experience across several key components of the ShtefAI blog.

### 💡 What:
- **Blog Grid:** Replaced `onClick` navigation on cards with a semantic "stretched link" pattern.
- **Blog Grid:** Converted category badges into focusable button elements.
- **Contact Form:** Added `aria-required` to mandatory fields and an `aria-live="polite"` region for the success message.
- **Header:** Added a tooltip to the mobile menu trigger for consistency.

### 🎯 Why:
- Improves screen reader support and keyboard navigation.
- Ensures the blog cards are crawlable by search engines and support native browser features (right-click open in new tab).
- Provides better feedback for assistive technologies on form submission.

### ♿ Accessibility:
- Semantic `<a>` tags (via Next.js `Link`) for better SEO and assistive technology support.
- `aria-live="polite"` and `role="status"` on the form's success message to announce state changes.
- Focusable category filters for keyboard-only users.
- `aria-required="true"` on mandatory form inputs.
- `Tooltip` components for icon-only buttons.
@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.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 30, 2026

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

Project Deployment Actions Updated (UTC)
shtefai Ready Ready Preview, Comment Mar 30, 2026 4:46pm

Copy link
Copy Markdown

@ai-coding-guardrails ai-coding-guardrails bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You've hit your review limit for the day, but don't worry you'll get some more tomorrow!

Contact us at hello@zenable.io if you want this rate limit to go away

@github-actions github-actions bot merged commit 0073c1c into main Mar 30, 2026
2 of 3 checks passed
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 78df781047

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +107 to +108
<TooltipTrigger asChild>
<MenuDropdown
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Attach tooltip trigger to the actual menu button

TooltipTrigger asChild is wrapping MenuDropdown (a composite component), not the actual DOM button, so Radix trigger props/ref are not forwarded to an element that can receive them. In practice, the new “Menu” tooltip will not activate on hover/focus of the menu icon (and may log ref warnings), which means this accessibility enhancement is effectively broken on small-screen navigation.

Useful? React with 👍 / 👎.

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