a11y: #quarto-margin-sidebar, #quarto-search-results, #quarto-sidebar-glass are outside every landmark (region)

Open
#14,377 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
javascript
Domain
accessibility

Research direction

Start with the linked quarto-accessibility-reprex and inspect the generated markup for #quarto-margin-sidebar, #quarto-search-results, and #quarto-sidebar-glass. Trace those elements to their generating entry points, then verify with the axe region rule that the sidebar and search results have descriptive landmarks and the decorative overlay is hidden from assistive technology.

Written by the indexing model from the issue text.

Description

accessibility bug themes

Reported in #14373.

Repro: https://github.com/alexpghayes/quarto-accessibility-reprex

axe rule: region · impact: moderate · tag: best-practice
Targets:

  • <div id="quarto-margin-sidebar" class="sidebar margin-sidebar"> — TOC, margin notes
  • <div id="quarto-search-results"> — search results panel
  • <div id="quarto-sidebar-glass"> — decorative overlay

These are plain <div> elements without landmark roles, so their contents sit outside every landmark. The margin sidebar and search results should adopt role="complementary" (or equivalent) with a descriptive aria-label. The sidebar-glass overlay is decorative and should be aria-hidden="true".

Part of #8706.

Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from quarto-dev/quarto-cli

All issues in quarto-dev/quarto-cli

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.