@@ -, +, @@ disabled links - 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. --- .../opac-tmpl/bootstrap/en/modules/opac-basket.tt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt @@ -55,16 +55,16 @@ Select titles to: - Remove + Remove [% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) %] [% IF ( ( Koha.Preference( 'virtualshelves' ) == 1 ) && loggedinusername ) %] - Add to a list + Add to a list [% END %] [% IF ( Koha.Preference( 'RequestOnOpac' ) == 1 ) %] - Place hold + Place hold [% END %] [% IF ( TagsInputEnabled && loggedinusername ) %] - Tag + Tag [% END %] [% END # / IF opacuserlogin %] @@ -500,10 +500,10 @@ var checkedBoxes = $(".cb:checked"); if ( checkedBoxes.length ) { $(".selections").html(_("With selected titles: ")); - $(".selections-toolbar .links a").removeClass("disabled"); + $(".selections-toolbar .links a").removeClass("disabled").attr("aria-disabled", "false"); } else { $(".selections").html(_("Select titles to: ")); - $(".selections-toolbar .links a").addClass("disabled"); + $(".selections-toolbar .links a").addClass("disabled").attr("aria-disabled", "true"); } } --