-
Notifications
You must be signed in to change notification settings - Fork 96
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
Alt tag on frontpage elements #1050
Comments
Thanks Marqas - lots of progress. |
Also, as you can see on the forum people have an issue with blurred images. Why not use the same featured image with screen set on the front page as on all other pages / posts. I know it takes a bit more resource but it is minuscule and it avoids people posting on the forum about it. |
Hi @Frenchomatic , |
Reviewed |
Related to #1049 but not quite the same issue (may as well fix all at the same time):
I think you should do what you have done on other pages in frontpage_elements and that is use the proper alt tag and not the post title. (i.e. your function ampforwp_thumbnail_alt()). No real reason to make the front page different. This works for me but you can obviously do it differently or condition it on the post title if alt is empty.
I already do something similar on the logo in header-bar.php because the logo has an alt tag defined.
The text was updated successfully, but these errors were encountered: