This issue came up in the review of the accessible cheatsheets, see https://github.com/mine-cetinkaya-rundel/accessible-cheatsheets/issues/2#issuecomment-1095384374 for the original issue.

---

The following is a simplified version of the HTML output with `format: html` and `toc: true`:

```html
<!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:

1. Make `footer` available to HTML output via the yaml (like `page-footer` for websites, for example).
2. Move the table of contents into the `header`. 
3. 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.

2022-05-31T20:21:04Z
mine-cetinkaya-rundel
Future
open
Accessibility suggestions: Footers, table of contents, and headers
https://github.com/quarto-dev/quarto-cli/issues/1032