Semantic landmarks: header, main, aside and footer
- Mobile and desktop top bars are <header>, the footer is <footer> (existing elements retagged, so sticky positioning is unaffected) - The page content is <main>; on article pages and /nieuws the content column is the <main> and the sidebar a top-level <aside> - Podcast and program pages: sidebar is an <aside> (inside the page <main>, because their title sits above the content column) - No visual changes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
dbbdca504e
commit
69bd0ba66a
7 files changed
+31
-24
No files matched your search
@@ -1,5 +1,8 @@
|
||||
@extends('layouts/master')
|
||||
|
||||
{{-- This layout has its own <main> (content) and <aside> (sidebar) --}}
|
||||
@section('page_tag', 'div')
|
||||
|
||||
@section('content_class')
|
||||
box
|
||||
@endsection
|
||||
@@ -10,7 +13,7 @@
|
||||
<div class="col-12">
|
||||
@yield('breadcrumb_top')
|
||||
</div>
|
||||
<div class="col-12 col-md content_container">
|
||||
<main class="col-12 col-md content_container">
|
||||
{{-- Pages can make this an <article> with @section('content_tag', 'article') --}}
|
||||
<@yield('content_tag', 'div') class="full-width md_margin_top @yield('content_class')">
|
||||
@yield('breadcrumb')
|
||||
@@ -18,9 +21,9 @@
|
||||
<h1 class="page_title">@yield('title')</h1>
|
||||
@yield('content')
|
||||
</@yield('content_tag', 'div')>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="col-12 col-md-auto sidebar">
|
||||
<aside aria-label="Meer van GOOI&meer" class="col-12 col-md-auto sidebar">
|
||||
@section('sidebar')
|
||||
@if ((isset($populair) && $populair) || isset($newsItems) && $newsItems)
|
||||
<div data-tabs>
|
||||
@@ -65,7 +68,7 @@
|
||||
|
||||
@include('widgets/contact', [])
|
||||
@show
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user