From f3e37178858dffa26055efc14e79edba9b6e7c49 Mon Sep 17 00:00:00 2001 From: Mike Risher Date: Fri, 17 Jul 2020 23:41:02 +0000 Subject: [PATCH] lp1887869 Item Edits and Accessibility Ensure that all the input fields are labelled so that this page can be used with screen readers. There is a tab for edits and a tab for item templates - both need to be addressed. Signed-off-by: Mike Risher Changes to be committed: modified: Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 modified: Open-ILS/src/templates/staff/cat/volcopy/t_edit.tt2 modified: Open-ILS/src/templates/staff/cat/volcopy/t_view.tt2 modified: Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js --- .../templates/staff/cat/volcopy/t_attr_edit.tt2 | 161 ++++++++++++--------- .../src/templates/staff/cat/volcopy/t_edit.tt2 | 98 +++++++++---- .../src/templates/staff/cat/volcopy/t_view.tt2 | 10 +- .../web/js/ui/default/staff/cat/volcopy/app.js | 20 +-- 4 files changed, 182 insertions(+), 107 deletions(-) diff --git a/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 b/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 index 5ee1c0bb4e..7d72027302 100644 --- a/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 +++ b/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 @@ -51,33 +51,39 @@
-
[% l('Template') %]
+
- +
- +
- - + +
- + - +
@@ -132,17 +138,19 @@
  • -
    +
    -
    -
    @@ -152,9 +160,9 @@
  • -
    +
    -
    @@ -168,9 +176,10 @@
  • -
    +
  • -
    +
    -
    -
    @@ -214,9 +225,10 @@
  • -
    +
    @@ -230,17 +242,19 @@
  • -
    +
    -
    -
    @@ -255,9 +269,10 @@
  • -
    +
    + type="number" step="0.01" aria-labelledby="price"/>
    @@ -286,9 +301,10 @@
  • -
    +
    - @@ -303,10 +319,10 @@
  • -
    +
    + aria-labelledby="acquisitionsCost" type="number" step="0.01"/>
    @@ -317,10 +333,11 @@
  • -
    +
    @@ -334,17 +351,19 @@
  • -
    +
    -
    -
    @@ -358,17 +377,19 @@
  • -
    +
    -
    -
    @@ -382,9 +403,9 @@
  • -
    +
    -
    @@ -396,9 +417,9 @@
  • -
    +
    - +
    -
    @@ -437,9 +460,10 @@
  • -
    +
    - @@ -474,10 +498,11 @@
  • -
    +
    @@ -502,9 +527,12 @@
  • -
    +
    + +
    - window.empty_barcode_string = "[% l('Missing Barcode') %]";
    -

    [% l('Batch Apply') %]

    +
    +

    + +

    +
    - +
    - +
    - +
    - +
    - +
    -
    [% l('Owning Library') %]
    -
    [% l('Call Numbers') %]
    +
    +
    -
    [% l('Classification') %]
    -
    [% l('Prefix') %]
    -
    [% l('Call Number Label') %]
    -
    [% l('Suffix') %]
    -
    [% l('Items') %]
    +
    +
    +
    +
    +
    -
    [% l('Barcode') %]
    -
    [% l('Item #') %]
    -
    [% l('Part') %]
    +
    +
    +
    @@ -76,10 +110,20 @@
    - + +
    - + +
    +
    +
    @@ -91,10 +135,10 @@ @@ -104,7 +148,7 @@
    -
    diff --git a/Open-ILS/src/templates/staff/cat/volcopy/t_view.tt2 b/Open-ILS/src/templates/staff/cat/volcopy/t_view.tt2 index c009569421..9948c2c891 100644 --- a/Open-ILS/src/templates/staff/cat/volcopy/t_view.tt2 +++ b/Open-ILS/src/templates/staff/cat/volcopy/t_view.tt2 @@ -8,23 +8,23 @@ eg-navbar { + record-id="record_id" record="summaryRecord">
    - +
    diff --git a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js index 501a9c1785..d94e31fc5d 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js @@ -490,14 +490,14 @@ function(egCore , $q) { '' + egCore.strings.VOL_COPY_NEW_ITEM + '' + '
    '+ ''+ '
    {{duplicate_barcode_string}}
    '+ '
    {{empty_barcode_string}}
    '+ '
    '+ - '
    '+ - '
    '+ + '
    '+ + '
    '+ '
    ', scope: { focusNext: "=", copy: "=", callNumber: "=", index: "@", record: "@" }, @@ -603,19 +603,19 @@ function(egCore , $q) { '' + egCore.strings.VOL_COPY_NEW_CALL_NUMBER + '' + '
    '+ '' + - ''+ + ''+ '
    '+ '
    '+ - ''+ + ''+ '
    '+ '
    '+ - ''+ + ''+ '
    {{empty_label_string}}
    '+ '
    '+ '
    '+ - ''+ + ''+ '
    '+ - '
    '+ + '
    '+ '
    '+ ''+ '
    '+ @@ -848,8 +848,8 @@ function(egCore , $q) { replace: true, template: '
    '+ - '
    '+ - '
    '+ + '
    '+ + '
    '+ '
    '+ '