Skip to content

🎨 Palette: Improve emoji screen reader accessibility and keyboard focus states - #26

Merged
rowan-m merged 2 commits into
mainfrom
palette/ux-a11y-improvements-18147392429161891786
Mar 14, 2026
Merged

rowan-m merged 2 commits into
mainfrom
palette/ux-a11y-improvements-18147392429161891786

Conversation

@rowan-m

@rowan-m rowan-m commented Mar 11, 2026

Copy link
Copy Markdown
Owner

🎨 Palette: Improve emoji screen reader accessibility and keyboard focus states

This PR introduces a small, focused set of micro-UX enhancements to improve accessibility and keyboard navigation.

  • πŸ’‘ What:
    • Wraps decorative emojis in <span aria-hidden="true"> across the UI.
    • Adds explicit aria-label attributes to the top-bar inputs (e.g., "Real part / x").
    • Adds visible :focus states to inputs and the reset link.
    • Updates InteractionManager.js to support the new nested structure in the fullscreen button.
  • 🎯 Why:
    • Screen readers currently announce the literal, verbose names of the emojis (e.g., "Round pushpin"), which is distracting and unhelpful, especially when there are actual text labels or aria-labels on the elements.
    • Keyboard-only users need clear visual feedback on which input or link currently has focus. The :focus styling now matches the :hover styling.
  • β™Ώ Accessibility:
    • Prevents screen reader noise.
    • Ensures form inputs have descriptive, accessible names.
    • Enhances visibility of the current focus element for keyboard navigation.

PR created automatically by Jules for task 18147392429161891786 started by @rowan-m

…us states

- Wrap all UI emojis in `<span aria-hidden="true">` to prevent screen
readers from redundantly announcing literal emoji names.
- Add descriptive `aria-label` attributes to the input elements in the stats form.
- Add visible `:focus` states to inputs and the reset link in `src/style.css`
to enhance keyboard accessibility.
- Update `InteractionManager.js` to correctly toggle the nested `span` inside
the fullscreen button.

Co-authored-by: rowan-m <108052+rowan-m@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
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.

@github-actions

github-actions Bot commented Mar 11, 2026 •

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit af787a6):

https://fractious-deep--pr26-palette-ux-a11y-impr-gbac689h.web.app

(expires Sat, 21 Mar 2026 08:59:10 GMT)

πŸ”₯ via Firebase Hosting GitHub Action 🌎

Sign: 348393a9746312ebab7a45ce5eba16e6d119af34

@rowan-m
rowan-m merged commit bae3880 into main Mar 14, 2026
2 checks passed
@rowan-m
rowan-m deleted the palette/ux-a11y-improvements-18147392429161891786 branch March 16, 2026 15:10
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