[Koha-bugs] [Bug 26761] Use aria-disabled attribute in OPAC cart for disabled links

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 30 21:21:42 CEST 2021


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

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 123344
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=123344&action=edit
Bug 26761: Use aria-disabled attribute in OPAC cart for disabled links

This patch adds "aria-disabled" attributes to disabled links in the
Cart, and adds JS to change the value from "true" to "false" when the
links are enabled. The goal is to make the interface more informative to
users of screen readers.

To test, apply the patch and add some items to the Cart in the OPAC.

- Inspect the markup of controls like "Remove", "Place hold," etc. Each
  should look disabled (grey) and has the correct aria-disabled
  attribute value.
- Select one or more checkboxes. The links should be come active, and
  the aria-disabled attribute shoulk now be "false."
- Deselect all checkboxes. The links should now be disabled.

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


More information about the Koha-bugs mailing list