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 15:08:18 +0000 (07:08 -0800)
commitcee2be4bda2f88c2993c7243e3032aa3a6cb9996
tree43de6f428c045b8d227f3d323a58ddcb009657e3
parenta08744987fb9104249ef54a100aa29aca74d623d
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