Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants