From 2429441ff00cb724bae6bd374ecdd09565d0f857 Mon Sep 17 00:00:00 2001 From: Vidminas <5411598+Vidminas@users.noreply.github.com> Date: Thu, 9 Jul 2026 16:56:02 +0100 Subject: [PATCH] a11y(blocks): render collection/markdown section titles as

MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The collection and markdown blocks rendered their title as a styled `
`, so section titles ("Recent Publications", "Recent News", …) never appeared in the document heading outline and screen-reader heading navigation skipped them (WCAG 1.3.1). Render the title as `

` (keeping the visual classes), matching the portfolio block, which already uses `

`. Co-Authored-By: Claude Opus 4.8 --- modules/blox/blox/content-collection/block.html | 4 ++-- modules/blox/blox/markdown/block.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/blox/blox/content-collection/block.html b/modules/blox/blox/content-collection/block.html index b1f625d47..c88229c1d 100644 --- a/modules/blox/blox/content-collection/block.html +++ b/modules/blox/blox/content-collection/block.html @@ -259,9 +259,9 @@ {{ if $title }}
-
+

{{ $title }} -

+

{{ with $text }}

{{ . }}

{{ end }}
diff --git a/modules/blox/blox/markdown/block.html b/modules/blox/blox/markdown/block.html index 5a7db8227..7cf9a964c 100644 --- a/modules/blox/blox/markdown/block.html +++ b/modules/blox/blox/markdown/block.html @@ -15,9 +15,9 @@
{{ with $title }} -
+

{{ . }} -

+

{{ end }} {{/* We use DIV rather than P to support `prose` class and multiple paragraphs */}}