website: make content headings keyboard-focusable so Tab moves through the page
メンテナーはふだん 1 日以内に返信
@nightcityblade がすでに取り組んでいます。
2026年10月8日 から。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- html
調査の方向性
website/layouts/_default/_markup/render-heading.htmlを読み、その出力を、すでに一部の見出しをフォーカス可能にしているwebsite/layouts/partials/heading.htmlと比較してください。Webサイトでレンダリングされたドキュメントと、ライトモードおよびダークモードでのキーボード操作を確認してください。Markdownコンテンツの見出しにTabキーで移動でき、フォーカスが見える状態になれば完了です。無関係なナビバーの動作は対象外です。
索引モデルが issue の本文から書いたものです。
説明
A note for the community
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Use Cases
Keyboard users read a docs page with the Tab key. Each Tab moves focus to the next focusable element, and the browser scrolls the page to that element.
On vector.dev, headings in the page content are not focus stops. Only links, buttons, and code blocks get focus. On a page with long sections and few links, one Tab can jump past one or more full sections. The user cannot move through the document section by section.
Example on https://vector.dev/docs/setup/quickstart/: after the breadcrumbs, the Tab sequence in the content is:
button "Script"
button "Docker"
pre "curl --proto '=https' ..."
a "installation methods"
pre "vector --version"
a "configuration file"
...
No heading in the page gets focus.
The Datadog docs do this correctly. On https://docs.datadoghq.com/getting_started/, each heading is a focus stop, for example:
<h2 id="what-is-datadog"><a href="#what-is-datadog">What is Datadog?</a></h2>
Tab moves from the breadcrumbs to "What is Datadog?", then to the links in that section, then to the next heading.
Attempted Solutions
NA
Current behavior in the website source:
website/layouts/_default/_markup/render-heading.htmlrenders all Markdown headings. The heading text is plain text. The only link is the#icon, and it hasx-show="show". That icon shows only onmouseover, so it hasdisplay: nonefor keyboard users and is not focusable.website/layouts/partials/heading.htmlwraps the heading text in<a href="#id">whenanchoristrue(for example, the component reference pages inwebsite/layouts/partials/data.html). These headings are already focus stops. Thus, the site is not consistent: Markdown headings are not focusable, and some template headings are.
Proposal
Keyboard users must be able to move through a docs page section by section with the Tab key, the same as on the Datadog docs. The focused element must be visible in light mode and dark mode.
One possible fix is to wrap the heading text in render-heading.html in an <a href="#..."> link, similar to heading.html with anchor: true and the Datadog docs. We did not test this, and other approaches are welcome.
Related: the first Tab on every page focuses the full <nav> element (tabindex="0" in website/layouts/partials/navbar.html), and the navbar itself is not interactive.
A larger follow-up can compare other keyboard features with the Datadog docs (for example, a "skip to content" link), but that is not necessary for this issue.
References
- #26572: adds copy buttons to code blocks. During review, we found this problem. Out of scope for that PR.
Version
NA (website)
- 主要言語
- Rust
- スター
- 22.8k
- フォーク
- 2.4k
- 平均マージ
- 1日 13時間
- マージ済み PR(30日)
- 273
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
vectordotdev/vector のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
vectordotdev/vector#26565 ·
メンテナーはふだん 1 日以内に返信
-
disk buffer: reader can be notified before the data file write completes, delaying the sink's sendオープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
vectordotdev/vector#26523 · コメント 8 件 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
-
`component_sent_bytes_total` for the `loki` sink reports compressed bytes, unlike other sinks対応中かも @ashokram-si が 15 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
vectordotdev/vector#26510 ·
メンテナーはふだん 1 日以内に返信
-
Doris Sink Error Log in verbose mode再び着手できるかも @arfa79 が 57 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
vectordotdev/vector#26353 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
source:nats
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
vectordotdev/vector#26345 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
vectordotdev/vector の issue をすべて見る
似ている issue
-
SPLADE `/embed_sparse` output depends on the other inputs in the batch (candle BertModel / DistilBertModel)対応中かも @0z5a が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
huggingface/text-embeddings-inference#979 ·
メンテナーはふだん 1 日以内に返信
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
servo/rust-smallvec#874 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 94/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 2 日以内に返信
-
ci enhancement need-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信