[open-ils-commits] [GIT] Evergreen ILS branch master updated. f6c0ba381ad29334c708aa001ed7e72bcc73e32a

Evergreen Git git at git.evergreen-ils.org
Tue Jul 30 10:31:52 EDT 2019


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  f6c0ba381ad29334c708aa001ed7e72bcc73e32a (commit)
       via  11d1b5383dd6e4795ea0873be8eab7b33c092ff6 (commit)
      from  8be9f005555932f74b2e047145446df5d643b923 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f6c0ba381ad29334c708aa001ed7e72bcc73e32a
Author: Galen Charlton <gmc at equinoxinitiative.org>
Date:   Fri May 24 14:04:33 2019 -0400

    LP#1796903: (follow-up) disabled the calendar button when the text input is disabled
    
    Disabling the calendar button when the datepicker is disabled allows
    ChromeVox (at least) to skip past a button that cannot be invoked
    until (like is possible in the checkout page) the picker is enabled.
    
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>
    Signed-off-by: Jane Sandberg <sandbej at linnbenton.edu>

diff --git a/Open-ILS/src/templates/staff/share/t_datetime.tt2 b/Open-ILS/src/templates/staff/share/t_datetime.tt2
index dbeb7193b5..9d83d30d7c 100644
--- a/Open-ILS/src/templates/staff/share/t_datetime.tt2
+++ b/Open-ILS/src/templates/staff/share/t_datetime.tt2
@@ -18,7 +18,7 @@
         close-text="{{closeText}}"/>
       <span class="input-group-btn">
         <button type="button" class="btn btn-default"
-          ng-click="datePickerIsOpen=!datePickerIsOpen"
+          ng-click="datePickerIsOpen=!datePickerIsOpen" ng-disabled="ngDisabled"
           aria-label="Select a date" aria-pressed="{{datePickerIsOpen || false}}">
           <span class="glyphicon glyphicon-calendar" title="Select a date"></span>
         </button>

commit 11d1b5383dd6e4795ea0873be8eab7b33c092ff6
Author: Jane Sandberg <sandbej at linnbenton.edu>
Date:   Tue Oct 9 07:37:56 2018 -0700

    LP1796903: Make date picker calendar button more accessible
    
    To test:
    
    1) After applying this commit, navigate to a place in the Web client
    that includes a date picker (such as the checkin screen).
    2) Hover over the calendar button with your mouse and confirm that a
    tooltip appears.
    3) Verify that the button element has an aria-label attribute.
    4) Verify that the button element has an aria-pressed attribute that
    is false when the date picker is closed; true when it is open.
    5) Use a screen reader (like NVDA or ChromeVox).  Verify that when you
    tab over to the date picker, the user is informed of the aria-label
    and aria-pressed values
    
    Signed-off-by: Jane Sandberg <sandbej at linnbenton.edu>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/src/templates/staff/share/t_datetime.tt2 b/Open-ILS/src/templates/staff/share/t_datetime.tt2
index 1f505db319..dbeb7193b5 100644
--- a/Open-ILS/src/templates/staff/share/t_datetime.tt2
+++ b/Open-ILS/src/templates/staff/share/t_datetime.tt2
@@ -18,8 +18,9 @@
         close-text="{{closeText}}"/>
       <span class="input-group-btn">
         <button type="button" class="btn btn-default"
-          ng-click="datePickerIsOpen=!datePickerIsOpen">
-          <i class="glyphicon glyphicon-calendar"></i>
+          ng-click="datePickerIsOpen=!datePickerIsOpen"
+          aria-label="Select a date" aria-pressed="{{datePickerIsOpen || false}}">
+          <span class="glyphicon glyphicon-calendar" title="Select a date"></span>
         </button>
       </span>
     </div>

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/templates/staff/share/t_datetime.tt2 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list