[Koha-bugs] [Bug 27610] New: Accessibility: OPAC - <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
Wed Feb 3 22:14:34 CET 2021


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

            Bug ID: 27610
           Summary: Accessibility: OPAC - <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: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: wainuiwitikapark at catalyst.net.nz
        QA Contact: testopia at bugs.koha-community.org

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 OPAC

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


More information about the Koha-bugs mailing list