You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(accessibility): announce ORCID profile link in ipynb title-block (#14632)
The ipynb title-block had the same ORCID accessibility gap as HTML/Reveal.js
(#14602): the link carrying the ORCID icon had no accessible name, causing
screen readers to fall back to announcing raw base64 image data.
The attribute-based fix from #14602 (aria-label / alt="") cannot be used here:
ipynb.lua deliberately strips all image attributes (imgEl.attr = pandoc.Attr())
to prevent pandoc from emitting raw <img> HTML, which breaks notebook attachment
handling in environments like VS Code. fig-alt is also a no-op for ipynb output.
Fix: embed the author's name in the markdown image alt text —
[](url)
The image caption is not an attribute and survives the stripping; a link
wrapping only an image takes its alt as the accessible name across all
markdown renderers.
- Adds ipynb ORCID a11y regression test
- Adds HTML/Reveal.js ORCID a11y regression tests, shares ORCID fixture
across all three output paths
Related to #14602
Copy file name to clipboardExpand all lines: news/changelog-1.10.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ All changes included in 1.10:
15
15
## Accessibility
16
16
17
17
- ([#14468](https://github.com/quarto-dev/quarto-cli/issues/14468)): The `axe` accessibility report UI (HTML overlay, revealjs report slide, dashboard offcanvas) now uses its own theme-independent colors instead of inheriting from `brand` or theme. Keeps the report readable regardless of page styling, and stops `axe` from clobbering brand colors set via `_brand.yml`.
18
-
- ([#14602](https://github.com/quarto-dev/quarto-cli/pull/14602)): Add `aria-label` and `alt=""` to properly announce ORCID image link in author metadata HTML/Reveal.js partial. (author: @mcanouil)
18
+
- ([#14602](https://github.com/quarto-dev/quarto-cli/pull/14602), [#14632](https://github.com/quarto-dev/quarto-cli/pull/14632)): Fix ORCID profile link having no accessible name for screen readers in HTML, Reveal.js, and ipynb title-block author metadata. (author: @mcanouil for #14602)
19
19
- ([#14604](https://github.com/quarto-dev/quarto-cli/issues/14604)): The `axe` accessibility report UI now shows each violation's WCAG conformance level (e.g. `WCAG 2.0 AA (1.4.3)`) or `Best Practice`, derived from the violation's axe-core tags.
$for(by-author)$$if(by-author.url)$[$by-author.name.literal$]($by-author.url$)$else$$by-author.name.literal$$endif$$if(by-author.orcid)$ [](https://orcid.org/$by-author.orcid$)$endif$$if(by-author.affiliations/first)$
0 commit comments