LP2017034 Skip link for staff navigation
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 20:14:57 +0000 (20:14 +0000)
commitcd177bc01433b088a399b22b6c41c734507613e1
treed9efa0e8aad59419254d662080b4747a1805d907
parentdaa8ec61497fc52c4c925d0e4b878b87eb7da8ac
LP2017034 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