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

Header alt tags #1138

Merged
merged 2 commits into from Aug 4, 2017

Conversation

Projects
None yet
2 participants
@austinseraphin
Contributor

austinseraphin commented Jul 24, 2017

This allows specifying a custom alt tag for a header image. Currently the theme defaults to the site title or nothing. I use a screen reader so noticed this right away, and fixed it on my site, so thought I'd push the change. Simply specify the image_description along with the image in the front matter.

Austin Seraphin added some commits Jul 24, 2017

Austin Seraphin
Added support for an alt tag for the header image
This allows using page.header.image_description as the alt tag. It
will still default to site.title if unset.
@mmistakes

This comment has been minimized.

Show comment
Hide comment
@mmistakes

mmistakes Aug 4, 2017

Owner

Thanks for the PR @austinseraphin

Owner

mmistakes commented Aug 4, 2017

Thanks for the PR @austinseraphin

@mmistakes mmistakes merged commit cb8cb6f into mmistakes:master Aug 4, 2017

BoWuGit pushed a commit to BoWuGit/bowugit.github.io that referenced this pull request Aug 17, 2017

Header alt tags (#1138)
* Added support for an alt tag for the header image

This allows using page.header.image_description as the alt tag. It
will still default to site.title if unset.

* Added documentation

maaz93 pushed a commit to maaz93/maaz93.github.io that referenced this pull request Nov 19, 2017

Header alt tags (#1138)
* Added support for an alt tag for the header image

This allows using page.header.image_description as the alt tag. It
will still default to site.title if unset.

* Added documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment