Skip to content

Align sprite-rendered icons with Lucide’s aria-hidden default#7

Open
ebadyz wants to merge 1 commit intoreact-zero-ui:mainfrom
ebadyz:fix/default-aria-hidden-icons
Open

Align sprite-rendered icons with Lucide’s aria-hidden default#7
ebadyz wants to merge 1 commit intoreact-zero-ui:mainfrom
ebadyz:fix/default-aria-hidden-icons

Conversation

@ebadyz
Copy link
Copy Markdown

@ebadyz ebadyz commented May 8, 2026

What changed

  1. renderUse pulls aria-hidden out of spread props and sets aria-hidden={true} when it’s not passed; any user value (e.g. false for meaningful icons) wins.
  2. Asserts default aria-hidden=true on rendered output and that overrides + role / aria-label still pass through.
  3. Registers the new “Accessibility Defaults” suite in the runner.

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