LP#1916403 Staff catalog search form labels user/sleary/lp1998855-search-form-labels
authorStephanie Leary <stephanie.leary@equinoxOLI.org>
Mon, 5 Dec 2022 20:25:31 +0000 (14:25 -0600)
committerStephanie Leary <stephanie.leary@equinoxOLI.org>
Mon, 5 Dec 2022 20:51:02 +0000 (14:51 -0600)
commitd3ce8948e647c2f39a5cc9c1cb75ad0bbf124e04
tree82402cb890719eed603b32288561cdef704b5136
parente7acf4a00c3948fac5f270926c3838459d57434e
LP#1916403 Staff catalog search form labels

Provides label tags for staff catalog search form fields.

Most labels in the form are visible. I have used the sr-only class to
make labels available to screen reader users while hiding them from
sight on the publication date range fields, which I think are easy
enough to use without visible labels. However, this combination of year
and operator dropdowns is not well organized for screen reader users,
and we should rethink the order and wording of these fields.

To test, visit staff/catalog/search and inspect each form field. Verify
that each one has a <label> tag where the for attribute matches the ID
of the associated form element. (Checkboxes wrapped in the <label> tag
still need matching ID and for attributes for consistent ARIA support.)

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
fix

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/catalog/search-form.component.css
Open-ILS/src/eg2/src/app/staff/catalog/search-form.component.html