quarto-dev / quarto-dev/quarto-cli

Option to opt out of the skip-to-content link

Open
#14,686 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

#14684 (implemented in #14685) added an always-on "Skip to main content" link to Bootstrap-themed HTML output (first element of <body>, visually hidden until focused). This matches MkDocs Material and pkgdown, which also ship it unconditionally, and the link text is already customizable via the language key skip-to-content.

Some users may still want to suppress it — e.g. sites that hand-roll their own skip link in a custom layout or via include-before-body (the workaround discussed in #11602), which now results in two skip links (the built-in one is always the first tab stop; a hand-rolled one remains functional but redundant).

This issue tracks adding an opt-out (e.g. skip-link: false under the html format or website config) if there is demand.

Deliberately deferred from #14684/#14685 to keep the initial change zero-config.

🤖 Generated with Claude Code

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

Review #14684 and #14685, then trace how the always-on skip link is added to Bootstrap-themed HTML output and how the skip-to-content language key is handled. Done means the output can suppress the built-in link through a documented html or website option without affecting the existing default behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
accessibility
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.