[open-ils-commits] [GIT] Evergreen ILS branch rel_3_1 updated. 430986bcede3e3d48480436e6772e414a5516118
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, rel_3_1 has been updated
via 430986bcede3e3d48480436e6772e414a5516118 (commit)
via 399a2d33984a631ddbc1d5231aae237df9f2b55b (commit)
from 6b023099c94b350113ae4c9afa27183610bdd24f (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 430986bcede3e3d48480436e6772e414a5516118
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>
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 afb43e8bc0..eea4cfe451 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 399a2d33984a631ddbc1d5231aae237df9f2b55b
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 492fa1c82f..afb43e8bc0 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