Skip to content

A page's own header, nav and footer can stand beside main, as on an ordinary site #4576

Closed

Description

@max-sixty

Consider letting a page's own header, nav and footer stand in body beside main, as on an ordinary website, instead of requiring them inside main.

Today: Leaf reads body > main as the page. Comment passages (browser and Python), revision patching, version comparison and the Layouts all take main as the authored root, and main as its own stacking context keeps a page's fixed header under Leaf's panel and threads, which share body. page check refuses content outside main (outside-main), naming the outermost elements to move.

What standardizing would buy: one fewer edit when porting an ordinary page, and the author's header and footer keep their banner and contentinfo landmarks (inside main they are plain sections).

What it would cost: the page's root becomes "everything in body that isn't Leaf's", and all four readers have to agree on that; Leaf's interface would need another way to stay above the page, such as the top layer.

Waits on: Max's decision whether it is worth considering further. Revisit if porting ordinary pages keeps tripping on outside-main, or screen-reader landmarks for a page's own header and footer turn out to matter. Raised on the Leaf page for #4490's follow-ups.

This was written by Claude Code on behalf of max-sixty

Activity

  1. added
    backlog
    etc
    layout
    waits-on-user
    on Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogetclayoutwaits-on-user

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions