From e1c9e5385cb66a9c9b07f2195b84cc7fa4439574 Mon Sep 17 00:00:00 2001 From: Mike Risher Date: Mon, 20 Jul 2020 22:10:55 +0000 Subject: [PATCH] lp1615800 Accessibility on Patron Pages Modify patron search, patron search results, and patron edit pages so that they are compatible with screen readers. aria-labelledby can be used to associate input fields with their labels. (Rebased to current master.) Signed-off-by: Mike Risher Changes to be committed: modified: Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 modified: Open-ILS/src/templates/staff/share/t_patron_search_form.tt2 Signed-off-by: Terran McCanna --- .../src/templates/staff/circ/patron/t_edit.tt2 | 193 ++++++++++++++------- .../templates/staff/share/t_patron_search_form.tt2 | 50 ++++-- 2 files changed, 163 insertions(+), 80 deletions(-) diff --git a/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 index d15538e1b0..ef6f4ef45e 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 @@ -97,8 +97,7 @@ # label OR a supplied string MACRO draw_field_label (cls, field, label_override) BLOCK %]
- [% IF label_override %] - [% ELSE %][% END %] +
@@ -194,6 +195,7 @@ within the "form" by name for validation.
@@ -700,10 +716,11 @@ within the "form" by name for validation.
- +
- @@ -712,10 +729,13 @@ within the "form" by name for validation.
- +
@@ -726,10 +746,13 @@ within the "form" by name for validation.
- +
@@ -739,11 +762,14 @@ within the "form" by name for validation.
- +
@@ -752,37 +778,47 @@ within the "form" by name for validation.
- +
-
+
- [% l('Phone') %] +
- [% l('Email') %] +
- [% l('SMS') %] +
- +
- @@ -796,13 +832,19 @@ within the "form" by name for validation.
- +
- @@ -811,10 +853,11 @@ within the "form" by name for validation.
- +
@@ -822,39 +865,48 @@ within the "form" by name for validation.
- +
-
+
+
-
-
-
-
-
@@ -862,7 +914,8 @@ within the "form" by name for validation.
-
@@ -875,32 +928,43 @@ within the "form" by name for validation.