Skip to content

a11y: drop inner <main> from ProfileView and EditProfileView#312

Open
m5x5 wants to merge 1 commit into
SolidOS:milestone3mfrom
m5x5:a11y/page-level-main-landmark
Open

a11y: drop inner <main> from ProfileView and EditProfileView#312
m5x5 wants to merge 1 commit into
SolidOS:milestone3mfrom
m5x5:a11y/page-level-main-landmark

Conversation

@m5x5
Copy link
Copy Markdown

@m5x5 m5x5 commented May 11, 2026

Summary

  • Both views wrapped their grid content in a <main>. With the shell's #MainContent also being a <main>, profile-pane pages had two nested <main> landmarks.
  • The page-level <main> landmark now lives on the shell's .app-view (see a11y: promote .app-view to the page-level <main> landmark mashlib#394). Demote the inner element to a <div>, preserving id, class, and tabindex.

Addresses #310.

Coordinated PRs

Both views wrapped their grid content in a <main>. With the shell's
`#MainContent` also being a <main>, profile-pane pages had two
nested <main> landmarks.

The page-level <main> landmark now lives on the shell's `.app-view`
in mashlib (see SolidOS/mashlib PR). Demote the inner element to a
<div>, preserving id, class, and tabindex.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

1 participant