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

docs: add alternative text to example of author configuration #2295

Merged
merged 2 commits into from
Oct 19, 2023
Merged

Conversation

maelle
Copy link
Collaborator

@maelle maelle commented Apr 4, 2023

Fix #2282

Maybe it'd also need a note on empty alternative text in case that's the best solution (reminded of this by #2288)

@@ -63,7 +63,7 @@ and can contain `href` and/or `html` fields:
authors:
firstname lastname:
href: "http://name-website.com"
html: "<img src='https://website.com/name-picture.png' width=72>"
html: "<img src='https://website.com/name-picture.png' width=72 alt='Name Website'>"
Copy link
Member

@hadley hadley Oct 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be more like "Name's logo" or "Photo of Name"?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or should it be empty #2288 (comment) 🤔

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, empty would be fine too. It's a bit hard to know since there's not much context here.

@maelle
Copy link
Collaborator Author

maelle commented Oct 19, 2023

Could you please change the repo settings to make the "Update branch" button appear on the PR?

@hadley hadley merged commit eae9be1 into main Oct 19, 2023
14 checks passed
@hadley hadley deleted the alt-author branch October 19, 2023 13:05
@hadley
Copy link
Member

hadley commented Oct 19, 2023

Done!

SebKrantz pushed a commit to SebKrantz/pkgdown that referenced this pull request Jun 1, 2024
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

Successfully merging this pull request may close these issues.

add alternative text to YAML config example for author images
2 participants