From d027fdb7d8c0a45bce6b987c75485dcb9611facf Mon Sep 17 00:00:00 2001 From: Alexander Blanchard Date: Mon, 7 Apr 2025 11:33:02 +0000 Subject: [PATCH] Bug 39490: Table Columns Missing Headings An accessibility audit highlighted that the purchase suggestions and search history tables in the 'My Account' section do not have headings in the tickbox column. The report suggests headings should be added to support those using screen readers. To Test: 1) In the opac, navigate to 'Your Account' 2) Navigate to 'Purchase Suggestions' 3) Add a purchase suggestion if you currently have none 4) Note that the left column does not have a heading and you cannot tab to it 5) Navigate to 'Search History' 6) Note, you must have searched the catalogue at least once for this table to display 7) Note that the left column does not have a heading and you cannot tab to it 8) Apply the patch 9) Repeat the steps above 10) Note that the tables now have a tooltip with information relevant to the column 11) Note that this column heading can now be tabbed to Signed-off-by: Brendan Gallagher Signed-off-by: Lucas Gass --- .../opac-tmpl/bootstrap/en/modules/opac-search-history.tt | 4 +++- .../opac-tmpl/bootstrap/en/modules/opac-suggestions.tt | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt index 068703ae32a..d5ef75e9725 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt @@ -91,7 +91,9 @@ Current session - + + + Date Search Results diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt index ce995218f98..ed9b16e100f 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt @@ -415,7 +415,11 @@ Your purchase suggestions - [% IF ( loggedinusername ) %] [% END %] + [% IF ( loggedinusername ) %] + + + + [% END %] Summary Suggested on Note -- 2.39.5