LP1615707 Skip link for staff navigation user/sleary/1744629-staff-skipnav user/sleary/lp1615707-staff-skipnav
authorStephanie Leary <stephanie.leary@equinoxOLI.org>
Wed, 2 Nov 2022 20:27:40 +0000 (15:27 -0500)
committerStephanie Leary <stephanie.leary@equinoxoli.org>
Wed, 19 Apr 2023 15:44:37 +0000 (15:44 +0000)
commit351b6638a205fef4af876b07584f50ca6dd59317
tree1a1cb8807fe77ef707234c1533a842be13732f5a
parentdaa8ec61497fc52c4c925d0e4b878b87eb7da8ac
LP1615707 Skip link for staff navigation

A small patch to address one of the issues in bug 1615707. This adds a
skip link above the staff nav bar. When it has focus, it's visible and
sits on top of the regular navigation links. Otherwise, it's placed off
the canvas.

Updated to simplify the routing approach and add a missing page title
(used as the skip destination anchor).

It would be great to customize the text of the link to specify the
context. For example, the bookshare.org search results skip link reads
"Skip to 1 through 7 of 7 search results." That will be more complicated
to implement though, and this wording is a common and accepted pattern.

This patch covers only Angular screens. A separate patch will be needed
for AngularJS.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
Open-ILS/src/eg2/src/app/routing.module.ts
Open-ILS/src/eg2/src/app/staff/cat/bib-by-ident.component.html
Open-ILS/src/eg2/src/app/staff/nav.component.css
Open-ILS/src/eg2/src/app/staff/nav.component.html
Open-ILS/src/eg2/src/app/staff/share/staff-banner.component.ts
Open-ILS/src/eg2/src/app/staff/splash.component.html