[Koha-bugs] [Bug 27631] New: Accessibility: Staff Client - <h1> on each page is Logo but should be page description/title

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 4 21:33:50 CET 2021


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

            Bug ID: 27631
           Summary: Accessibility: Staff Client - <h1> on each page is
                    Logo but should be page description/title
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Staff Client
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: wainuiwitikapark at catalyst.net.nz
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

The main heading <h1> of each page in Koha should describe the topic or purpose
of the page. At the moment, the <h1> of each page looks like:

<h1 id="logo">
 <a class="navbar-brand" href="/cgi-bin/koha/opac-main.pl">
  Library Name</a>
</h1>

It makes more sense and would be more helpful to ensure the heading has a
descriptor of the page that they're on, rather than no description surrounding
a link containing the name of the library.

The following WCAG2.1 page explains this further:
https://www.w3.org/WAI/WCAG21/Techniques/general/G130

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25155#c12
raises a question of what navigation items should be if h1 is move to the main
content, and here is a page which shows that it is acceptable to have h2 that
come before the h1 in the content, see example 2:
https://www.w3.org/WAI/tutorials/page-structure/headings/

First, let's remove the <h1> tag from around the Logo link

This bug will depend on correcting the headings on each page of the Staff
Client

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


More information about the Koha-bugs mailing list