OPAC Holds table needs header scopes instead of sr-only text

Bug #2043044 reported by Stephanie Leary
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
New
Undecided
Unassigned

Bug Description

In the OPAC account holds table, each cell contains a span with extra text for screen readers (<span class="sr-only">Title</span>, for example). This is unnecessarily verbose. Instead, the corresponding <th> tag should have a scope attribute, like <th scope="col">Title</th>

Each row should also have a <th> tag for the checkbox cell with a scope="row" attribute. However, these header cells will be useless unless the checkboxes have proper labels; see bug 2043042.

See the "Scoping rows and columns" section of the MDN <table> reference for a complete example: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table#scoping_rows_and_columns

tags: added: opac
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.