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