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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to