We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
alt=""
I can't set alt to empty string, because it trying to fallback to title
alt
title
uikit/src/components/Avatar/Avatar.tsx
Line 43 in 733c5b3
The text was updated successfully, but these errors were encountered:
@ogonkov Images with empty strings in alt attribute are not accessible. Why you want it?
Sorry, something went wrong.
It has presentation role, this is valid usage
Has it? We don't allow set this prop
Yes. In some cases you don't want to expose image to a11y technologies.
In case of avatar this could be the case when it followed by user name, for example and setting alt text for avatar is obsolete.
@ogonkov We decided to remove alt prop entirely from the component props
No branches or pull requests
I can't set
alt
to empty string, because it trying to fallback totitle
uikit/src/components/Avatar/Avatar.tsx
Line 43 in 733c5b3
The text was updated successfully, but these errors were encountered: