]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1467634: Hide saved searches from screen readers for non-staff client
authorYamil Suarez <yamil@yamil.com>
Mon, 22 Jun 2015 18:33:28 +0000 (14:33 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 4 Nov 2015 17:48:25 +0000 (17:48 +0000)
commit15b0730a427979ce70ca7f7c27769129f88c0a0f
tree3540aa0dc060867205ad809e6c90f2559bbfe367
parent51decf3af821ceb86ba6238b79b79efaed0d61be
LP#1467634: Hide saved searches from screen readers for non-staff client

This commit will only allow screen readers to see the saved searches for
users that are logged through XUL client.
Assuming that a screen reader can be attached to the XUL client.

It should also work for a user logged in through the web staff
client that is using a screen reader.

To test
-------
[1] Apply the patch, then perform a search in the public catalog and
    view the HTML source.  Verify that there's no "sr-only" heading
    for "Saved searches".
[2] Set the opac.staff_saved_search.size library setting to a non-zero
    value.
[3] In the web staff client, perform a search using the embeded OPAC;
    verify that the recent searches list is displayed.
[4] Repeat step 4 in the XUL client.

Signed-off-by: Yamil Suarez <yamil@yamil.com>
Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/templates/opac/parts/result/table.tt2