You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: [content] allow disabling the <section class="content"> wrapper #809
jaspr_content's Content component wraps the rendered page in <section class="content"> (hardcoded in packages/jaspr_content/lib/src/content.dart). There's no way to disable or customize it. Three reasons this would help:
Semantic HTML.<section> is sectioning content with implicit outline/landmark semantics, not a generic wrapper. MDN: "section should not be used as a generic container; this is what div is for." An unconditional outer section also affects the document outline and constrains content that uses its own sectioning elements (<article>, nested <section>, <aside> etc.).
Cleaner markup. One extra wrapper with no ARIA or structured-data value.
CSS direct-child selectors break. Rules like & > :first-child match the section, not the actual first content element:
Activity