-
Notifications
You must be signed in to change notification settings - Fork 362
Open
Labels
Milestone
Description
This issue came up in the review of the accessible cheatsheets, see mine-cetinkaya-rundel/html-cheatsheets#2 (comment) for the original issue.
The following is a simplified version of the HTML output with format: html
and toc: true
:
<!DOCTYPE html>
<html lang="en">
<head>
<title>Document Title</title>
</head>
<body>
<div id="quarto-content">
<div id="quarto-margin-sidebar" class="sidebar margin-sidebar">
TABLE OF CONTENTS...
</div>
<main class="content" id="quarto-document-content">
<header id="title-block-header" class="quarto-title-block default">
<div class="quarto-title">
<h1 class="title">Document Title</h1>
</div>
</header>
DOCUMENT TEXT...
</main>
</div>
</body>
</html>
Three accessibility suggestions are:
- Make
footer
available to HTML output via the yaml (likepage-footer
for websites, for example). - Move the table of contents into the
header
. - Move the
header
outside ofmain
.
Similar to #1030, (2) and (3) might be things to address in Pandoc. I'm guessing (1) is addressable in Quarto.