TPAC: Address severe accessibility issues user/dbs/tpac_accessibility_audit
authorDan Scott <dscott@laurentian.ca>
Thu, 14 Mar 2013 21:52:09 +0000 (17:52 -0400)
committerDan Scott <dscott@laurentian.ca>
Thu, 14 Mar 2013 22:45:07 +0000 (18:45 -0400)
commit4e487ede5d3eb81383c751d718ed9ace9758aa48
treebb966f44ab330b8d18a6ac268230f99298cdcb73
parenta19259c23927490ab9a052d9edcdbae395d27f7d
TPAC: Address severe accessibility issues

Using the Chrome Accessibility Dev Tools extension to run accessibility
audits against the TPAC turned up some "severe" issues, such as input
widgets lacking labels. In most cases the text for the labels was
present, but it needed to be associated with a <label> element. In some
other cases, it was easier to use the aria-label attribute to give the
widget an accessible label. Finally, we can use the placeholder
attribute where warranted as an accessible label.

These changes address the first set of accessibility issues I came
across via the audits and could address quickly.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/myopac/holds.tt2
Open-ILS/src/templates/opac/myopac/prefs_notify.tt2
Open-ILS/src/templates/opac/myopac/prefs_settings.tt2
Open-ILS/src/templates/opac/parts/advanced/expert.tt2
Open-ILS/src/templates/opac/parts/advanced/numeric.tt2
Open-ILS/src/templates/opac/parts/coded_value_selector.tt2
Open-ILS/src/templates/opac/parts/org_selector.tt2
Open-ILS/src/templates/opac/parts/place_hold.tt2
Open-ILS/src/templates/opac/parts/qtype_selector.tt2
Open-ILS/src/templates/opac/parts/searchbar.tt2