From 67aa59ca04fe9eb56c879d2e881a7433d38d8305 Mon Sep 17 00:00:00 2001 From: Merge Bot Date: Thu, 16 Apr 2026 05:11:48 +0000 Subject: [PATCH] Merge PR #560: deploy/gitea-a11y/custom/templates/custom/header_banner.tmpl --- .../templates/custom/header_banner.tmpl | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 deploy/gitea-a11y/custom/templates/custom/header_banner.tmpl diff --git a/deploy/gitea-a11y/custom/templates/custom/header_banner.tmpl b/deploy/gitea-a11y/custom/templates/custom/header_banner.tmpl new file mode 100644 index 00000000..2d46cece --- /dev/null +++ b/deploy/gitea-a11y/custom/templates/custom/header_banner.tmpl @@ -0,0 +1,20 @@ +{{/* + Gitea a11y fix: V5 — Header/banner landmark + + Wraps the top navigation in a
element. + This provides a banner landmark for screen readers. + + Gitea's default base/head.tmpl does not include a header landmark. + This override wraps the navbar in
. + + Deploy to: custom/templates/custom/header_banner.tmpl + Include by adding {{template "custom/header_banner" .}} before