From 329ebde3d309430e6dec2e7f2a95337b69262c2e Mon Sep 17 00:00:00 2001 From: fsologureng Date: Sat, 26 Nov 2022 20:27:07 -0300 Subject: [PATCH 1/2] Added ARIA markup to Navigation bar and Footer Added ARIA navigation landmark to navigation bar and aria label for both nav bar and footer. Contributed by @forgejo. --- options/locale/locale_en-US.ini | 6 ++++++ templates/base/footer_content.tmpl | 6 +++--- templates/base/head_navbar.tmpl | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 43a8aeb08eb1c..5147ba101dedf 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -111,6 +111,12 @@ never = Never rss_feed = RSS Feed +[aria] +navbar = Navigation Bar +footer = Footer +footer.software = About Software +footer.language = Language + [filter] string.asc = A - Z string.desc = Z - A diff --git a/templates/base/footer_content.tmpl b/templates/base/footer_content.tmpl index 89be609225895..8b2026fbccc2f 100644 --- a/templates/base/footer_content.tmpl +++ b/templates/base/footer_content.tmpl @@ -1,6 +1,6 @@ -