From a78e0b7dade16bc6509b943fe86e74962f1b95b6 Mon Sep 17 00:00:00 2001 From: HesterG Date: Thu, 23 Feb 2023 05:58:07 +0800 Subject: [PATCH] Add accessibility to the menu on the navbar (#23059) This PR is trying to add accessibility to the menu as mentioned in #23053 so the menu can be accessed using keyboard (A quick demo is added below), with a reference to [PR2612](https://github.com/go-gitea/gitea/pull/22612). The goal is to make the menu accessible merely using keyboard like shown below. And this PR might need confirmation from developers using screen readers. --- templates/base/head_navbar.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl index 059363b72d..10bbf655b5 100644 --- a/templates/base/head_navbar.tmpl +++ b/templates/base/head_navbar.tmpl @@ -18,9 +18,9 @@ {{end}} - +