Skip to content

Commit

Permalink
Docs: add alternative text to example of author configuration (#2295)
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Oct 19, 2023
1 parent 8699d86 commit eae9be1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion man/rmd-fragments/authors-configuration.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,14 @@ and can contain `href` and/or `html` fields:
* If `html` is provided, it will be shown instead of the author's name.
This is particularly useful if you want to display the logo of a corporate
sponsor. Use an absolute URL to an image, not a relative link.
Use an empty alternative text rather than no alternative text so a screen-reader
would skip over it.

```yaml
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=''>"
```


Expand Down

0 comments on commit eae9be1

Please sign in to comment.