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 (like page-footer for websites, for example).
- Move the table of contents into the
header.
- Move the
header outside of main.
Similar to #1030, (2) and (3) might be things to address in Pandoc. I'm guessing (1) is addressable in Quarto.
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: htmlandtoc: true:Three accessibility suggestions are:
footeravailable to HTML output via the yaml (likepage-footerfor websites, for example).header.headeroutside ofmain.Similar to #1030, (2) and (3) might be things to address in Pandoc. I'm guessing (1) is addressable in Quarto.