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

Image title attribute #4

Open
krisimmig opened this issue Feb 21, 2019 · 2 comments
Open

Image title attribute #4

krisimmig opened this issue Feb 21, 2019 · 2 comments
Assignees

Comments

@krisimmig
Copy link

A would suggest to also add a title attribute here since the BI SEO requirements are to hav both alt and title tags.

Maybe we could use the alt tag as title if no title is supplied. Thoughts?

@mlnmln
Copy link
Member

mlnmln commented Feb 26, 2019

@krisimmig I have no strong feelings about this. Could you research if this is in line with common accessibility best practices? If yes, let's do it.

@krisimmig
Copy link
Author

Looks like it is an optional attribute, see https://stackoverflow.com/questions/16384693/is-a-title-attribute-relevant-in-a-img-tag

But I think we can add it with a fallback to the alt tag.
I will add it.

@krisimmig krisimmig reopened this Feb 27, 2019
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

No branches or pull requests

2 participants