Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Document how to avoid an empty `<h2>` on revealjs slides without a visible title

Abierto Apto para principiantes
#14,971 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
86/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
markdown

Línea de trabajo

Comienza con la sección enlazada Slide Backgrounds Without a Title y compárala con la sección relacionada Auto Animate. Documenta el patrón del elemento span oculto visualmente, advierte que aplicar .visually-hidden al encabezado oculta toda la diapositiva y enlaza Auto Animate con las instrucciones; confirma que los ejemplos renderizados explican cómo evitar un encabezado vacío.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

accessibility documentation revealjs

The revealjs docs show slides with no title, for example ## {background-color="aquamarine"} in Slide Backgrounds Without a Title and ## {auto-animate=true} in Auto Animate. Each of these slides renders an empty <h2>. Screen reader users who move by headings land on a heading with no name, and axe reports empty-heading.

Authors can avoid the empty <h2> and still show no title. Put the title in a span with the .visually-hidden class:

## [Aquamarine slide]{.visually-hidden} {background-color="aquamarine"}

In Quarto 1.11.4, the title does not show on the slide, but Chrome's accessibility tree has heading "Aquamarine slide" [level=2]. The slide menu also lists "Aquamarine slide", not the first words of the slide text. The class works in revealjs, because Quarto defines its own .visually-hidden (_quarto-rules.scss L12-L22). The revealjs theme includes that file (format-reveal-theme.ts L177).

quarto.org does not document this pattern, and there is a trap: ## Title {.visually-hidden} hides the whole slide. In revealjs, Pandoc moves heading classes to the <section>.

Suggestion: In Slide Backgrounds Without a Title, show the .visually-hidden span as the way to have no visible title, and warn about the class on the heading. Auto Animate could link to it.

AI helped with this investigation. The work was grounded in a local clone of quarto-cli, as "Using AI tools to investigate" in CONTRIBUTING.md describes.

Lenguaje dominante
JavaScript
Estrellas
6k
Forks
461
Merge medio
12 h 42 min
PR fusionados (30 d)
54

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de quarto-dev/quarto-cli

Todos los issues de quarto-dev/quarto-cli

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.