Skip to content
New issue

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

Feature request: Add accessability alt tag data for avatar #68

Open
ipokkel opened this issue Mar 13, 2023 · 1 comment
Open

Feature request: Add accessability alt tag data for avatar #68

ipokkel opened this issue Mar 13, 2023 · 1 comment

Comments

@ipokkel
Copy link
Member

ipokkel commented Mar 13, 2023

Is your feature request related to a problem? Please describe.
Sometimes there is no Alt Text on avatar images

Describe the solution you'd like
A default alt tag, e.g. "user avatar", if no alt tag data exists for the avatar image.

Describe alternatives you've considered
Set a tag when none exists with custom code by hooking into basic_user_avatar_data.

@ipokkel
Copy link
Member Author

ipokkel commented Mar 13, 2023

Example of setting a custom alt tag when hooking into basic_user_avatar_data.

https://gist.github.com/ipokkel/4f5db2ec2b039dbb2ccdb6d9afe2e2a7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants