a11y: default listing emits empty <a> when a post has no subtitle (link-name)
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- javascript
- Domain
- accessibility, frontend
Research direction
Start with the default listing template and reproduce the issue using the linked accessibility reprex. Inspect the .listing-subtitle > a.no-external output when a post has no subtitle, then verify with axe's link-name rule that no empty focusable anchor is rendered while posts with subtitles still work.
Written by the indexing model from the issue text.
Description
Reported in #14373.
Repro: https://github.com/alexpghayes/quarto-accessibility-reprex
axe rule: link-name · impact: serious · tag: wcag2a (2.4.4)
Target: .listing-subtitle > a.no-external — rendered as <a href="..." class="no-external" data-original-href="..."></a> (empty)
The default listing template renders an anchor inside .listing-subtitle for every post even when the post has no subtitle field. The anchor is empty (no text, no aria-label, no title), ends up in the tab order, and fails link-name. The template should skip the subtitle wrapper when no subtitle is present, or render it without a focusable anchor.
Different element than #7088 (which was a listing body-level empty <a>, fixed in v1.4).
Part of #8706.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 42
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from quarto-dev/quarto-cli
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
quarto-dev/quarto-cli#14915 ·
-
binder bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
quarto-dev/quarto-cli#14907 · 3 comments · 1 reaction ·
-
brand bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
quarto-dev/quarto-cli#14891 ·
-
brand bug html revealjs
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
quarto-dev/quarto-cli#14882 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
quarto-dev/quarto-cli#14875 ·
All issues in quarto-dev/quarto-cli
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·
-
client-controller-update ta-bot-triage team-money-movement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
MetaMask/metamask-mobile#36594 ·