From 657fb2c1a35fef8eeeb5995a5c00d6bdce869b34 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Fri, 24 Feb 2023 18:39:55 +0800 Subject: [PATCH] Make certain components hidden from accessibility tree --- CHANGELOG.adoc | 5 +++++ layouts/_default/baseof.html | 4 ++-- layouts/_default/single.html | 4 ++-- layouts/partials/components/post-meta.html | 2 +- layouts/partials/components/theme-button.html | 2 +- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 275079e..b022342 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -20,6 +20,11 @@ and this project adheres to https://semver.org/spec/v2.0.0.html[Semantic Version == Unreleased +== Added + +- Accessibility tags for certain elements in the website (i.e., `
` in non-content). + + == Updated - Spacing between basic elements (i.e., `

`). diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 3163814..c1deabe 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -6,9 +6,9 @@ {{- partial "components/theme-button.html" . }} {{- partial "header.html" . -}} -


+ {{- block "main" . }}{{- end }} -
+ {{- partial "footer.html" . -}} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 274c311..34ffe33 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -21,8 +21,8 @@ {{ .Content }} -
-
+ +