From 85f64e57570dcca22785e921139e2052e437eba6 Mon Sep 17 00:00:00 2001 From: Tim Bannister Date: Mon, 18 Nov 2024 20:28:25 +0000 Subject: [PATCH] Localize accessibility text in sidebar nav Allow localizing labels used in the sidebar navigation to help accessibility --- data/i18n/en/en.toml | 3 +++ layouts/partials/sidebar-tree.html | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/data/i18n/en/en.toml b/data/i18n/en/en.toml index 1370cf965d..8ed2090963 100644 --- a/data/i18n/en/en.toml +++ b/data/i18n/en/en.toml @@ -597,6 +597,9 @@ other = "Changelog" [seealso_heading] other = "See Also" +[sidebar_toggle_nav] +other = "Toggle section navigation" + [subscribe_button] other = "Subscribe" diff --git a/layouts/partials/sidebar-tree.html b/layouts/partials/sidebar-tree.html index 35ad647f2c..26a699f1b9 100644 --- a/layouts/partials/sidebar-tree.html +++ b/layouts/partials/sidebar-tree.html @@ -4,14 +4,14 @@ {{ if not .Site.Params.ui.sidebar_search_disable -}} {{ else -}}