]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP1796903: Make date picker calendar button more accessible
authorJane Sandberg <sandbej@linnbenton.edu>
Tue, 9 Oct 2018 14:37:56 +0000 (07:37 -0700)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 30 Jul 2019 14:30:49 +0000 (10:30 -0400)
commit2de958841c3d0dfaf9a271b407cd77176d7f6461
tree37123f2835a013c5fc2b1a4556bc8f3e23588ad4
parentacb556c37e44c34ffd60eb31bb6e68087bf14419
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@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/share/t_datetime.tt2