]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP1474874: Consistent page headers in the Angular client
authorJane Sandberg <sandbej@linnbenton.edu>
Fri, 7 Jun 2019 01:15:56 +0000 (18:15 -0700)
committerChris Burton <cburton@nflibrary.ca>
Thu, 10 Sep 2020 16:01:35 +0000 (12:01 -0400)
commit46bba9b276da215c1e3d898911e3e185fcb37e14
tree8a8e25dfddcd4ba3ef21bf6efdbd3313f148ba76
parent0054fb045f5ee2cacd348497e48e49072a8d607e
LP1474874: Consistent page headers in the Angular client

This commit ensures that each screen in the Angular staff client uses
the <eg-staff-banner> component to better orient its users.

This commit also gives the eg-staff-banner some <h1> semantics, per
WebAIM's guidance: "Pages should be structured in a hierarchical manner,
generally with one 1st degree headings (<h1>) being the most important
(usually page titles or main content heading)" -- https://webaim.org/techniques/semanticstructure/

To test:

1) Go to [your-server]/eg2/en-US/staff/catalog/search
2) Confirm that there is a header that gives the page title at the top
of the page.
3) Go to an Angular Vandelay page.
4) Confirm that you see a similar header as in step 2.
5) Go to an Angular Administration page.
6) repeat step 4.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Jason Boyer <JBoyer@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/cat/vandelay/vandelay.component.html
Open-ILS/src/eg2/src/app/staff/catalog/browse.component.html
Open-ILS/src/eg2/src/app/staff/catalog/catalog.component.html
Open-ILS/src/eg2/src/app/staff/catalog/cnbrowse.component.html
Open-ILS/src/eg2/src/app/staff/share/staff-banner.component.ts