Default listing renders an empty, focusable thumbnail link for posts without an image
Mantenedores costumam responder em até 1 dia
@chanellebingham já está trabalhando nisso.
Desde 18/10/2026.
- #15099 de @chanellebingham — integrado
Avaliação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 72/100
- Tipo de issue
- Bug
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- javascript, typescript
- Domínio
- accessibility, frontend
Direção de pesquisa
Comece pelo template item-default.ejs.md, onde a miniatura está sempre envolvida em uma tag a, e pelo emptyDiv() em website-listing-read.ts, que preenche o caso vazio. Para reproduzir, renderize uma listagem padrão com uma postagem que não tenha imagem e verifique na saída se há o link sem nome. Está concluído quando uma postagem sem imagem não tiver mais um link de miniatura focalizável, ou tiver um que seja aria-hidden com tabindex definido como -1, e o axe não relatar mais link-name para ela.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
I have:
- searched the issue tracker for similar issues
- installed the latest version of Quarto CLI
- formatted my issue following the Bug Reports guide
Bug description
In a default listing, a post with no preview image gets an empty thumbnail link.
item-default.ejs.md always wraps the thumbnail in <a href="...">.
When the post has no image and the listing sets no image-placeholder, emptyDiv() in website-listing-read.ts fills it with <div class="listing-item-img-placeholder"> </div>.
The link has no accessible name, but it is still a Tab stop, so keyboard and screen reader users meet one unnamed link per post before its title link.
axe reports it as link-name (WCAG 2.4.4, 4.1.2).
The grid listing is not affected, as its whole card is one link with text.
This differs from #15038, where the thumbnail has an image without alt text, and from #7028, which asks for alt text on image-placeholder.
Steps to reproduce
_quarto.yml:
project:
type: website
website:
title: "Listing"
index.qmd:
---
title: "Posts"
listing:
contents: posts
type: default
---
posts/one/index.qmd:
---
title: "Post one"
date: 2026-01-01
---
Text without an image.
Render the website and inspect _site/index.html, or run axe on it.
Actual behavior
<div class="thumbnail"><a href="./posts/one/index.html" class="no-external">
<div class="listing-item-img-placeholder card-img-top" > </div>
</a></div>
axe: link-name on the thumbnail link of each post; the link is reachable with Tab and announced with no name.
Expected behavior
A post with no image gets no thumbnail link, or a link hidden from assistive technology and taken out of the tab order (aria-hidden="true" and tabindex="-1"), since the title link next to it already goes to the same page.
Your environment
- IDE: none, rendered from the command line.
- OS: macOS 27.0.
Quarto check output
quarto check
Quarto 99.9.9
[✓] Checking environment information...
Quarto cache location: /Users/mcanouil/Library/Caches/quarto
Project: none found (single-file mode)
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.10.0: OK
Dart Sass version 1.101.0: OK
Deno version 2.7.14: OK
Typst version 0.15.1: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 99.9.9
commit: b86f98d382940bef6c65f37ea0bdfba844f19b6d
Path: /Users/mcanouil/Projects/quarto-dev/quarto-cli/package/dist/bin
[✓] Checking tools....................OK
TinyTeX: v2026.07
Chrome Headless Shell: (not installed)
VeraPDF: (not installed)
[✓] Checking LaTeX....................OK
Using: TinyTex
Path: /Users/mcanouil/Library/TinyTeX/bin/universal-darwin
Version: 2026
[✓] Checking Chrome Headless....................OK
Using: Chrome from QUARTO_CHROMIUM
Path: /Applications/Brave Browser.app/Contents/MacOS/Brave Browser
[✓] Checking basic markdown render....OK
ℹ R version 4.6.1 (2026-06-24)
! Config '~/.Rprofile' was loaded!
[✓] Checking R installation...........OK
Version: 4.6.1
Path: /Library/Frameworks/R.framework/Versions/4.6/Resources
LibPaths:
- /Users/mcanouil/Library/R/arm64/4.6/library
- /Library/Frameworks/R.framework/Versions/4.6/Resources/library
knitr: 1.51
rmarkdown: 2.31
[✓] Checking Knitr engine render......OK
[✓] Checking Python 3 installation....OK
Version: 3.13.11
Path: /Users/mcanouil/Projects/q2-tests/.venv/bin/python3
Jupyter: (None)
Jupyter is not available in this Python installation.
Install with python3 -m pip install jupyter
[✓] Checking Julia installation...
- Linguagem predominante
- JavaScript
- Estrelas
- 6.1k
- Forks
- 471
- Merge médio
- 16h 41min
- PRs com merge (30d)
- 102
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de quarto-dev/quarto-cli
-
accessibility bug website-navigation
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 83/100
quarto-dev/quarto-cli#15190 ·
Mantenedores costumam responder em até 1 dia
-
accessibility bug website-navigation
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
quarto-dev/quarto-cli#15188 ·
Mantenedores costumam responder em até 1 dia
-
accessibility bug html websites
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
quarto-dev/quarto-cli#15187 ·
Mantenedores costumam responder em até 1 dia
-
enhancement themes websites
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
quarto-dev/quarto-cli#15179 ·
Mantenedores costumam responder em até 1 dia
-
about-page bug layout websites
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 82/100
quarto-dev/quarto-cli#15178 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de quarto-dev/quarto-cli
Issues semelhantes
-
Clinic sharing: fast sync refusal message suggests Delete Data, which only developer builds haveAbertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
avniproject/avni-client#2228 ·
-
bug confirmed issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
open-webui/open-webui#33196 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
`printf "%o"` prints decimalAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
fable-compiler/Fable#5157 ·
Mantenedores costumam responder em até 1 dia
-
New tool: PaperBananaTalvez já em andamento @github-actions assumiu hoje. Abertasubmission triage
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 75/100
kausalflow/tools#243 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
area: apple-music area: build-release bug effort: small priority: high
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
ChristianTabor/Argon#32 ·
Mantenedores costumam responder em até 1 dia