LP#1916403 Staff catalog search form labels
authorStephanie Leary <stephanie.leary@equinoxOLI.org>
Mon, 5 Dec 2022 20:25:31 +0000 (14:25 -0600)
committerJane Sandberg <sandbergja@gmail.com>
Tue, 28 Feb 2023 14:44:16 +0000 (06:44 -0800)
commit10758c49008acd80dc70575534e0b1c954a91594
tree446657bd4f41de104abcef3291e898bebf041661
parent1b4af35cb02b4a329c41c559a9d7e30e22a2bdec
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>
Signed-off-by: Susan Morrison <smorrison@georgialibraries.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Open-ILS/src/eg2/src/app/staff/catalog/search-form.component.css
Open-ILS/src/eg2/src/app/staff/catalog/search-form.component.html