Bug 28141 - Accessibility: OPAC Advanced Search fields aren't labelled
Summary: Accessibility: OPAC Advanced Search fields aren't labelled
Status: ASSIGNED
Alias: None
Product: Koha
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Henry Bolshaw
QA Contact: Testopia
URL:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2021-04-13 11:57 UTC by Henry Bolshaw
Modified: 2024-04-11 13:13 UTC (History)
5 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henry Bolshaw 2021-04-13 11:57:44 UTC
The OPAC advanced search page has unlabelled search fields making them inaccessible to users of screen readers. This is a complicated page to get right and I'm not entirely sure how best to fix this. Here are some of the issues with the page currently:

Example issue 1:
When using NVDA to access the search form fields out of context, it is hard to tell which index (keyword, author, title etc.) you are searching. This is an issue when searching multiple fields at once.

"Enter search terms; edit; has auto complete"

It would be better if the search form field was linked to the index combo box. We could use aria-labelledby but there may be better ways to do this.

Example Issue 2:
The label for "search-field_0" is blank.

Example Issue 3:
The search terms are linked by 'and' but this isn't entirely clear out of context using a screen reader:
"  ;combo box; collapsed; Subject"
"and;combo box; collapsed; Title"
"and;combo box; collapsed; Publisher Location"
"Location and availability:; combo box; collapsed; All Libraries"
"Sort by:; combo box; collapsed; Relevance"
"Language; combo box; collapsed; No Limit"

Example Issue 4:
The remove field buttons aren't programmatically linked to the field they are removing