website: make content headings keyboard-focusable so Tab moves through the page
Los mantenedores suelen responder en 1 día
@nightcityblade ya está trabajando en esto.
Desde el 8/10/2026.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 78/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- html
- Área
- accessibility
Línea de trabajo
Lee website/layouts/_default/_markup/render-heading.html y compara su salida con website/layouts/partials/heading.html, que ya hace que algunos encabezados se puedan enfocar. Comprueba la documentación renderizada del sitio web y el comportamiento del teclado en los modos claro y oscuro. Se considera terminado cuando se puede llegar a los encabezados del contenido Markdown con Tab y su foco es visible; el comportamiento no relacionado de la barra de navegación queda fuera del alcance.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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)
- Lenguaje dominante
- Rust
- Estrellas
- 22.8k
- Forks
- 2.4k
- Merge medio
- 1 d 13 h
- PR fusionados (30 d)
- 273
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de vectordotdev/vector
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
vectordotdev/vector#26565 ·
Los mantenedores suelen responder en 1 día
-
disk buffer: reader can be notified before the data file write completes, delaying the sink's sendAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
vectordotdev/vector#26523 · 8 comentarios · 2 reacciones ·
Los mantenedores suelen responder en 1 día
-
`component_sent_bytes_total` for the `loki` sink reports compressed bytes, unlike other sinksPosiblemente ocupada @ashokram-si la tomó hace 15 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
vectordotdev/vector#26510 ·
Los mantenedores suelen responder en 1 día
-
Doris Sink Error Log in verbose modeQuizá libre de nuevo @arfa79 la tomó hace 56 días y no hay ningún pull request abierto. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
vectordotdev/vector#26353 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
source:nats
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
vectordotdev/vector#26345 · 2 reacciones ·
Los mantenedores suelen responder en 1 día
Todos los issues de vectordotdev/vector
Issues similares
-
Expression with ill-formed typeAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 94/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 2 días
-
ci enhancement need-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
enhancement good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
area:ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
openfootmanager/openfootmanager#1365 ·
Los mantenedores suelen responder en 1 día