]> git.koha-community.org Git - koha.git/commit
Bug 37748: In Bootstrap 5 "disabled" class must be on anchor tag, not list item
authorOwen Leonard <oleonard@myacpl.org>
Tue, 27 Aug 2024 11:43:01 +0000 (11:43 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 29 Aug 2024 15:24:03 +0000 (17:24 +0200)
commitb57868b1e4d125b946028a4e57b64ebd8eb59f2d
treed154f87a92a42cf7d8780ece32806cd3b9979466
parent4c93ed758f95af0d5e06d3125ae3c6f19f937a6a
Bug 37748: In Bootstrap 5 "disabled" class must be on anchor tag, not list item

This patch revises the markup for disabled dropdown menu items to
conform to Bootstrap 5 requirements. The patch also revises many
instances of Bootstrap tooltips which were not working -- tooltips which
should be shown with many of the disable dropdown items.

In BS5, a tooltip can't be attached to a disabled link. Instead the
tooltip must be attached to the link's container. These changes also
include the addition of "aria-disabled='true'" to the disabled menu
items.

Sponsored-by: Athens County Public Libraries
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
21 files changed:
koha-tmpl/intranet-tmpl/prog/css/src/_variables.scss
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss
koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/includes/clubs-table.inc
koha-tmpl/intranet-tmpl/prog/en/includes/header.inc
koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/includes/serials-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc-overlay-rules.tt
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt
koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt
koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt
koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt
koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt
koha-tmpl/intranet-tmpl/prog/js/catalog.js
koha-tmpl/intranet-tmpl/prog/js/messaging-preference-form.js
koha-tmpl/intranet-tmpl/prog/js/pages/stockrotation.js
koha-tmpl/intranet-tmpl/prog/js/serials-toolbar.js
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc