Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン 初心者向け
#14,971 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
86/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
markdown

調査の方向性

リンクされた Slide Backgrounds Without a Title セクションから始め、関連する Auto Animate セクションと比較します。視覚的に非表示にする span のパターンを文書化し、見出しに .visually-hidden を適用するとスライド全体が非表示になることを警告し、Auto Animate をそのガイダンスにリンクします。レンダリングされた例で空の見出しを避ける方法が説明されていることを確認します。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
JavaScript
スター
6k
フォーク
461
平均マージ
12時間 42分
マージ済み PR(30日)
54

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

quarto-dev/quarto-cli のほかの issue

quarto-dev/quarto-cli の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。