[GIT] Evergreen ILS branch rel_3_14 updated. 2816853cc466ca93b6d23cc03b82c3ab427d0a2d

This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Evergreen ILS". The branch, rel_3_14 has been updated via 2816853cc466ca93b6d23cc03b82c3ab427d0a2d (commit) from c13076109a88277aefb1299c84940dd8c1698ec1 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 2816853cc466ca93b6d23cc03b82c3ab427d0a2d Author: Stephanie Leary <stephanie.leary@equinoxoli.org> Date: Thu Jun 26 14:58:18 2025 +0000 LP2115535 Basket nav markup, ARIA label Creates a separate navigation landmark for the OPAC basket. This is useful primarily when there are items in the basket, in which case a dropdown menu of basket actions becomes available. Release-note: Adds a separate navigation landmark for OPAC basket Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org> Signed-off-by: Garry Collum <gcollum@gmail.com> Signed-off-by: Jane Sandberg <js7389@princeton.edu> Sponsored-by: BC Libraries Cooperative diff --git a/Open-ILS/src/templates-bootstrap/opac/css/style.css.tt2 b/Open-ILS/src/templates-bootstrap/opac/css/style.css.tt2 index ef9a671593..2f6716f99b 100755 --- a/Open-ILS/src/templates-bootstrap/opac/css/style.css.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/css/style.css.tt2 @@ -1723,7 +1723,8 @@ tr.result_table_row > td.result_table_pic_header { text-decoration: none; } #basket_actions { - margin: .5rem; + margin: .5rem; + padding-inline: 1rem 1.5rem; } #basket_actions select { border-color: [% css_colors.basket_actions_select_border %]; diff --git a/Open-ILS/src/templates-bootstrap/opac/parts/cart.tt2 b/Open-ILS/src/templates-bootstrap/opac/parts/cart.tt2 index 594f43df36..526272fe4f 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/cart.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/cart.tt2 @@ -1,4 +1,4 @@ -<div id="record_basket"> +<nav id="record_basket" aria-label="[% l('Basket') %]"> <div id="basket_actions"> <select id="select_basket_action" aria-label="[% l('Select basket action') %]"> <option value="">[% l('-- Basket Actions --') %]</option> @@ -39,4 +39,4 @@ </div> </a> </div> -</div> +</nav> diff --git a/Open-ILS/src/templates-bootstrap/opac/parts/cart_nav.tt2 b/Open-ILS/src/templates-bootstrap/opac/parts/cart_nav.tt2 index 1087f813cd..2aac3b573e 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/cart_nav.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/cart_nav.tt2 @@ -1,10 +1,10 @@ - <div id="basket_actions"> + <nav id="basket_actions" aria-label="[% l('Basket') %]"> <div id="select_basket_action" class="dropdown"> <button type="button" class="btn p-1" id="cartDropdown" data-toggle="dropdown" - aria-label="[% l('View basket'); %]" aria-describedby="record_basket_count"> + aria-label="[% l('View basket'); %]" aria-labelledby="cartDropdown record_basket_count" aria-expanded="false"> <img id="cart_icon_image" src="[% ctx.media_prefix %]/images/cart-sm.png[% ctx.cache_key %]" alt=""> - <div id="record_basket_count_floater" role="status" aria-labelledby="cartDropdown"> + <div id="record_basket_count_floater"> <span id="record_basket_count">[% ctx.mylist.size %]</span> </div> </button> @@ -22,4 +22,4 @@ <a class="dropdown-item" role="menuitem" href="[% mkurl(ctx.opac_root _ '/mylist/clear', {}) %]"><i class="fas fa-trash" aria-hidden="true"></i> [% l('Clear Basket') %]</a> </div> </div> - </div> + </nav> ----------------------------------------------------------------------- Summary of changes: Open-ILS/src/templates-bootstrap/opac/css/style.css.tt2 | 3 ++- Open-ILS/src/templates-bootstrap/opac/parts/cart.tt2 | 4 ++-- Open-ILS/src/templates-bootstrap/opac/parts/cart_nav.tt2 | 8 ++++---- 3 files changed, 8 insertions(+), 7 deletions(-) hooks/post-receive -- Evergreen ILS
participants (1)
-
Git User