Skip to content

Fix Avatar empty alt fallback - #592

Merged
czarandy merged 1 commit into
mainfrom
fix/559-avatar-alt-fallback
Aug 25, 2026
Merged

Fix Avatar empty alt fallback#592
czarandy merged 1 commit into
mainfrom
fix/559-avatar-alt-fallback

Conversation

@czarandy

Copy link
Copy Markdown
Owner

Summary

  • normalize Avatar alt text before resolving its accessible name
  • fall back to name for empty or whitespace-only alt values
  • cover trimmed and empty alt behavior with regression tests

Testing

  • pnpm test
  • pnpm typecheck
  • pnpm lint
  • pnpm format:check
  • pnpm build

Closes #559

@vercel

vercel Bot commented Aug 25, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
silver-ui-site Ready Ready Preview Aug 25, 2026 11:32pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
silver-ui Ignored Ignored Aug 25, 2026 11:32pm

@czarandy
czarandy merged commit dfe3e60 into main Aug 25, 2026
4 checks passed
@czarandy
czarandy deleted the fix/559-avatar-alt-fallback branch August 25, 2026 23:45
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.

Avatar: empty or whitespace alt yields an empty accessible name

1 participant