Commit 532be5b
authored
fix(accessibility): add aria-label to announce ORCID profile in author metadata HTML/Reveal.js (#14602)
fix(accessibility): announce ORCID profile link in author metadata
Add an aria-label to the ORCID profile link and alt="" to the
decorative ORCID image in the HTML and Reveal.js author-metadata
templates. Without an accessible name, screen readers announced the
base64 image data or an empty link; the image is now treated as
decorative and the link carries the author's name.
Detected via the quarto-revealjs-a11y audit tool, which flags images
with missing alt text. title-fancy is pure Quarto despite living
under the pandoc directory, so the fix is applied there too.1 parent 6c7a526 commit 532be5b
3 files changed
Lines changed: 4 additions & 3 deletions
File tree
- news
- src/resources/formats
- html/templates
- revealjs/pandoc/title-fancy
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
100 | | - | |
| 101 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments