quarto-dev / quarto-dev/quarto-cli

Add support for `alt` (and maybe `title`) for `placeholder-image` in listings

Open
#7,028 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

accessibility enhancement listings
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

Discussed in https://github.com/quarto-dev/quarto-cli/discussions/6987

Originally posted by maelle September 25, 2023

Description

I have two closely related questions about images for website listings

  • How could one add the title for an image, that is to say the text available on hover? I was thinking it'd be a good place to add credit (to the image creator).
  • When using an image placeholder, can one add an alternative text?

Thank you. 🙏

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No implementation file or test is named. Start with discussion 6987 and the website listings documentation, especially the placeholder section, to trace how placeholder-image is rendered. Done means placeholder images accept alternative text and, if the scope includes it, a title for hover text or image credit.

Written by the indexing model from the issue text.

Assessment

Domain
accessibility, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.