]> git.koha-community.org Git - koha.git/commit
Bug 28140: Accessibility: OPAC - "sort_by" select isn't labelled on search results...
authorHenry Bolshaw <bolshawh@parliament.uk>
Tue, 13 Apr 2021 10:49:09 +0000 (10:49 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 29 Apr 2021 09:33:20 +0000 (11:33 +0200)
commit5f53c1442587e418cd155f246d11a492f4732b3b
treeb634fa98e071343dbfbd43a63bd6e58e3cfb16de
parentc3c8274197fe925eb2915dbee42d8f6415733d80
Bug 28140: Accessibility: OPAC - "sort_by" select isn't labelled on search results page

This patch adds a label to the sort function on the OPAC
results page to provide context to screen readers and improve
accessibility.

The label is visually hidden and does not change how the page
displays.

To test:
- Search for something on the OPAC
- Change how the results are sorted and confirm sort still works
- Confirm that there are no visual changes to the page
- Inspect the sort function to confirm it now has a label
- Ideally confirm the label works with a screenreader

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit d60439b96a708d28bd8612f99c279e69972811b5)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt