Skip to content

Expose the landing hero title as the primary heading - #78010

Merged
pelikhan merged 2 commits into
mainfrom
copilot/multi-device-docs-testing-report
Nov 15, 2026
Merged

pelikhan merged 2 commits into
mainfrom
copilot/multi-device-docs-testing-report

Conversation

@gh-aw-bot

@gh-aw-bot gh-aw-bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Collaborator

The landing page’s hero title should provide a clear <h1> for screen-reader users and document navigation while preserving its visual design.

  • Hero semantics: Promote each switchable hero variant’s title to <h1>; shared styles preserve the existing appearance.
  • Accessibility coverage: Update the homepage test to check for one exposed primary heading and the expected heading level across variants.
<h1><span class="aw-line">AI-powered workflows</span> <span class="aw-line">for GitHub</span></h1>

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
@gh-aw-bot gh-aw-bot changed the title [WIP] Fix landing page heading accessibility warning Expose the landing hero title as the primary heading Nov 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Visual regression check: docs preview

Captured the built docs at /gh-aw/ at three viewports inside the sandbox. No authorized baseline is provisioned, so visual comparison is unavailable for every page. This is not a clean result.

Page Viewport Capture Comparison
/gh-aw/ Mobile 375×812 captured (viewport not confirmed) unavailable
/gh-aw/ Tablet 768×1024 captured unavailable
/gh-aw/ Desktop 1440×900 captured unavailable

Accessibility snapshot

  • Observed images carry descriptive alt text. No unnamed buttons or empty links were found.
  • Heading structure looks sound: one h1, then h2 and h3 sections.
  • The snapshot was taken at the tablet viewport. Desktop and mobile were not inspected separately.
  • Console: 0 errors, 4 WebGL GPU stall due to ReadPixels warnings.
Limitations
  • The mobile capture ran in parallel with desktop navigation on one shared browser session, so the 375×812 viewport is not confirmed. Re-run it sequentially.
  • Preview readiness was inferred from the server log and a successful page load. The scripted readiness poll was blocked by workflow tool permissions.
  • The PNG dimension check and the .playwright-cli/ cleanup were also blocked. That directory remains in the workspace.
  • The tablet capture failed once with a navigation interruption and succeeded on retry.

References: §43683089433

Generated by 👁️ Visual Regression Checker for #78010 · copilot · routed: haiku55 xhigh · ~2 AIC · ⌖ ~1 AIC · ⊞ 3.1K · ◷

@pelikhan
pelikhan marked this pull request as ready for review November 15, 2026 08:13
Copilot AI adaptive review requested due to automatic review settings November 15, 2026 08:13
@pelikhan
pelikhan merged commit 709efdb into main Nov 15, 2026
25 checks passed
@pelikhan
pelikhan deleted the copilot/multi-device-docs-testing-report branch November 15, 2026 08:14
@github-actions

github-actions Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

🧪 Test quality analysis by Test Quality Sentinel · copilot · routed: haiku55 xhigh · ~2 AIC · ⌖ ~2 AIC · ⊞ 7.2K · ◷

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The focused change promotes all three switchable hero titles to accessible primary headings and updates homepage accessibility coverage for the expected heading structure, with no active issues identified.

No open issues 🎉

What changed in this PR

This pull request promotes each switchable landing-page hero title to an accessible primary heading while preserving the existing visual styling.

Changes:

  • Converted all three hero titles from <h2> to <h1>.
  • Updated homepage accessibility tests to verify one exposed primary heading and the expected heading level across variants.
File Description
docs/​tests/​homepage-accessibility.spec.ts Verifies one exposed primary heading and <h1> usage across all hero variants.
docs/​src/​components/​landing/​HeroVD.astro Promotes the Hero D title to <h1>.
docs/​src/​components/​landing/​HeroVC.astro Promotes the Hero C title to <h1>.
docs/​src/​components/​landing/​HeroVA.astro Promotes the Hero A title to <h1>.

Review effort: Lite (dynamic)

@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.3.0

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.

🔍 Multi-Device Docs Testing Report - 2026-11-15

4 participants