OPAC item tables' selection checkboxes need better labels
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Stephanie Leary |
Bug Description
In the OPAC My Account screens, the tables' row selection checkboxes are either missing labels entirely, or have repetitive ARIA labels that don't tell the user which row is being selected.
The most straightforward way to fix this would be to set the aria-label attribute to a string containing the title and author of the item being selected.
We could also do it by adding unique IDs to the table cells (record ID + "-title", "-author", etc.) and setting aria-labelledby to the combination of the two IDs for each row (as described in https:/
Some of the checkboxes have a title attribute, which provides a nice tooltip. However, not all of them do, and the ones that are there need to include the titles and authors. The title attribute is useful only for tooltips; it does not fulfill the requirement for a label.
This issue plays out a little differently on each of the account screens:
* In the search results, all the results' checkboxes have the same ARIA label: "Add to Basket." This should be something more like "Add to Basket: TITLE by AUTHOR." (The select-all checkbox at the top is fine.)
* In the basket, all the checkboxes' ARIA labels say "Select record." This should be more like "Select TITLE by AUTHOR."
* In the Holds table, the checkboxes have a title attribute ("Select hold") but no <label> or ARIA label.
* In Lists and the circulation history, none of the checkboxes, including the select-all one at the top, have any kind of label or title attribute.
tags: | added: opac |
Changed in evergreen: | |
assignee: | nobody → Stephanie Leary (stephanieleary) |