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

Header alt tags #1138

Merged
merged 2 commits into from
Aug 4, 2017
Merged

Header alt tags #1138

merged 2 commits into from
Aug 4, 2017

Conversation

austinseraphin
Copy link
Contributor

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 2 commits July 24, 2017 01:33
This allows using page.header.image_description as the alt tag. It
will still default to site.title if unset.
@mmistakes
Copy link
Owner

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
* 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
kkunapuli pushed a commit to kkunapuli/kkunapuli.github.io that referenced this pull request May 30, 2019
* 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
makaroniame added a commit to makaroniame/makaroniame-old.github.io that referenced this pull request May 18, 2022
* 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
jchwenger pushed a commit to jchwenger/jchwenger.github.io that referenced this pull request May 5, 2023
* 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants