From: Stephanie Leary Date: Tue, 4 Oct 2022 20:37:23 +0000 (-0500) Subject: LP1828468 Keyboard navigation for main navbar X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7096bb91ca10d5dba4f2e8a291585e59937861fe;p=working%2FEvergreen.git LP1828468 Keyboard navigation for main navbar In the main navbar, all items except the home icon are unreachable using only a keyboard. This includes the logout/change operator menu on the far right. This is caused by the lack of an href attribute on the tags, which prevents the link from having a focus state. This patch adds tabindex="0" to the parent menu items and the submenu items that use (click) or routerLink. Submenu items are also given the ngbDropdownItem directive, which allows up/down arrow navigation within submenus. The patch does not include CSS to make the focus state prettier; a separate patch for style is forthcoming. Related: Bug #1814978 --- diff --git a/Open-ILS/src/eg2/src/app/staff/nav.component.html b/Open-ILS/src/eg2/src/app/staff/nav.component.html index ab959cae36..a850ec314d 100644 --- a/Open-ILS/src/eg2/src/app/staff/nav.component.html +++ b/Open-ILS/src/eg2/src/app/staff/nav.component.html @@ -13,21 +13,21 @@