[Koha-bugs] [Bug 28101] Accessibility: OPAC - Breadcrumbs should be more accessible

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 23 13:36:22 CEST 2021


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

--- Comment #7 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 125185
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125185&action=edit
Bug 28101: Update breadcrumb markup in the OPAC for consistency and
accessibility

Modified breadcrumbs to be accessible, in particular for a
screen-reader. Also ensured the breadcrumbs were all consistent.

Made the block of breadcrumbs to be a <nav id="breadcrumbs"
aria-label="Breadcrumb" class="breadcrumbs"> with an ordered list
inside. The last breadcrumb also has aria-current="page" to specify that
it is the current page.

To test, apply the patch and rebuild the OPAC CSS
(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client)

- Confirm that OPAC templates are updated consistently to use
  breadcrumbs markup beginning with '<nav
  id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">'
- Pages in the OPAC should look consistent, with the last breadcrumb
  styled as text and with the "aria-current" attribute "page."

Sponsored-by: Catalyst IT

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


More information about the Koha-bugs mailing list