[Koha-bugs] [Bug 27477] New: Improve link text when a record has too many items on the OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 20 02:56:25 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27477

            Bug ID: 27477
           Summary: Improve link text when a record has too many items on
                    the OPAC
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Templates
          Assignee: oleonard at myacpl.org
          Reporter: aleisha at catalyst.net.nz
        QA Contact: testopia at bugs.koha-community.org

koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt:                       
    <p>This record has many physical items ([% items_count | html %]). <a
href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | uri
%]&viewallitems=1">Click here to view them all.</a></p>

"Here" should not be used as a link text as it doesn't contain any helpful
information for people scanning the page for information and also is a problem
for blind users using screen readers jumping from link to link on a page.

to reproduce:
go to koha admin in staff client
set OpacMaxItemsToDisplay system preference to something small such as 2
create or find a bibliographic record
ensure it has more items than the OpacMaxItemsToDisplay (you may have to add
more items)
go to the opac and find the record
scroll down to holdings
you should see the 'click here' message

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list