Skip to content

Give the docs pages a footer landmark #124

Done
LeanMeanCleanApps/leanmeancleanapps.github.io
#54

Description

@stphnwlsh

Found by the VoiceOver check on 2 December (part of #114). Starlight renders the docs footer inside <main>, so a <footer> there isn't a page-level footer. VoiceOver's landmark list has no "content information" on any docs page, and the organisation links (Support, Security, Contributing, Accessibility, Brand, Sponsor) read as part of the page content. The home page is fine, because its footer sits outside <main>.

It isn't a barrier: everything is still reachable, and the 18 November axe scan passed. It's untidy for anyone who moves around by landmarks, and the statement says we check with VoiceOver, so we should fix what it finds.

  • leanmeancleanapps.github.io: move the organisation part of src/components/docs/Footer.astro (.cl-footer) out of <main>, for example by overriding Starlight's PageFrame or TwoColumnContent so it renders after main, or give it role="contentinfo" if it can't move. Keep Starlight's own "Edit page" and pagination inside <main>.
  • Check it looks the same in both themes

Checks: npm run build, then node accessibility/voiceover.mjs --only landmarks from the scripts repo passes for the docs page.

Activity

  1. added this to the 2027.01.01 milestone on Dec 2, 2026
  2. self-assigned this
    on Dec 2, 2026
  3. added
    accessibility
    on Dec 2, 2026
  4. stphnwlsh commented on Dec 2, 2026

    @stphnwlsh
    MemberAuthor

    Confirmed after deploy: node accessibility/voiceover.mjs --only landmarks passes on both pages, and VoiceOver now lists the docs footer as a footer landmark. Transcript in LeanMeanCleanApps/scripts#7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

accessibility

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions