Skip to content

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

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

a11y: drop inner <main> from ProfileView and EditProfileView#312
m5x5 wants to merge 1 commit into
SolidOS:post-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

@m5x5 m5x5 marked this pull request as draft May 11, 2026 14:48
@m5x5 m5x5 marked this pull request as ready for review May 11, 2026 15:09
@m5x5 m5x5 force-pushed the a11y/page-level-main-landmark branch from 97b2230 to 9dff30b Compare May 12, 2026 05:49
@m5x5 m5x5 changed the base branch from milestone3m to post-milestone3m May 12, 2026 05:49
@m5x5 m5x5 marked this pull request as draft May 12, 2026 05:49
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>
@SharonStrats
Copy link
Copy Markdown
Contributor

I made these changes manually bc I needed to change some things and it was orginally not pointing to my branch. sorry about that.

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.

2 participants