Skip to content

Add main landmark to EAA-drupal4gov-eu26.html presentation#24

Draft
Copilot wants to merge 4 commits intomainfrom
copilot/fix-accessibility-main-landmark-another-one
Draft

Add main landmark to EAA-drupal4gov-eu26.html presentation#24
Copilot wants to merge 4 commits intomainfrom
copilot/fix-accessibility-main-landmark-another-one

Conversation

Copy link

Copilot AI commented Feb 13, 2026

WCAG 2.1 requires documents have exactly one main landmark. The EAA presentation was missing this, making it difficult for screen reader users to navigate to the main content.

Changes

  • Wrapped all slide <section> elements in a <main> landmark
  • UI controls (progress bar, clock, aria-live region) remain outside <main> as they are not content
<body class="shower fade-in duration=20 warn=5 hidemouse">
  <div class="progress"></div>
  <div class="clock"></div>
  <section aria-live="assertive" aria-label="Slide mode status">...</section>

  <main>
    <!-- All slide sections -->
    <section class="slide cover clear" id="cover">...</section>
    <section class="slide druplicon" id="wad-foundation">...</section>
    <!-- ... -->
  </main>
</body>

Screenshot

Presentation with main landmark

The presentation renders identically and now provides the required landmark navigation structure.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://storage.googleapis.com/chromium-browser-snapshots/Linux_x64/869685/chrome-linux.zip
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node node install.js (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Accessibility issue: Document should have one main landmark on /presentations/EAA-drupal4gov-eu26.html</issue_title>
<issue_description>## What
An accessibility scan flagged the element <html lang="en-us"> on https://ox.ca/presentations/EAA-drupal4gov-eu26.html because document should have one main landmark. Learn more about why this was flagged by visiting https://dequeuniversity.com/rules/axe/4.11/landmark-one-main?application=playwright.

To fix this, ensure the document has a main landmark.

Specifically:

Fix all of the following:

  • Document does not have a main landmark

Acceptance Criteria

  • The specific axe violation reported in this issue is no longer reproducible.
  • The fix MUST meet WCAG 2.1 guidelines OR the accessibility standards specified by the repository or organization.
  • A test SHOULD be added to ensure this specific axe violation does not regress.
  • This PR MUST NOT introduce any new accessibility issues or regressions.

</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 3 commits February 13, 2026 13:49
Co-authored-by: mgifford <116832+mgifford@users.noreply.github.com>
Co-authored-by: mgifford <116832+mgifford@users.noreply.github.com>
Co-authored-by: mgifford <116832+mgifford@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix accessibility issue: Document should have one main landmark Add main landmark to EAA-drupal4gov-eu26.html presentation Feb 13, 2026
Copilot AI requested a review from mgifford February 13, 2026 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Accessibility issue: Document should have one main landmark on /presentations/EAA-drupal4gov-eu26.html

2 participants