From 851d0a38986ebdeddb80ba113f9b7d16e4f862c1 Mon Sep 17 00:00:00 2001 From: ckaz <kazzer@ub.uni-leipzig.de> Date: Tue, 6 Jun 2023 13:19:42 +0200 Subject: [PATCH] refs #23949 finc: Adds missing aria-current=page declarations + consistent use of '.text' class --- themes/finc/templates/myresearch/menu.phtml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/themes/finc/templates/myresearch/menu.phtml b/themes/finc/templates/myresearch/menu.phtml index cc26123000b..ac8c5b5df11 100644 --- a/themes/finc/templates/myresearch/menu.phtml +++ b/themes/finc/templates/myresearch/menu.phtml @@ -15,6 +15,7 @@ * adds aria helpers * adds 'media ready to pickup' menu item * adds 'preferences' menu with items 'profile', 'change password', 'change pin' and 'logout' + * adds 'aria-current="page"' for menu items * * configured in: -- */ @@ -38,12 +39,11 @@ <button class="close-offcanvas btn btn-default" data-toggle="offcanvas"><?=$this->transEsc('navigate_back') ?></button> <?php /* finc: change h3 to h2 */ ?> <h2><?=$this->transEsc('Your Account')?></h2> -<?php /* finc needs to add .facet-group class and classes on sub items for borders - CK */ - /* also adds aria-current for correct menu action */ ?> -<?php /* finc needs to add .facet-group class and classes on sub items for borders - CK */ ?> -<?php /* finc: myresearch menu as list #19734 and wraps it in '<nav>' container, CK */ ?> -<?php /* finc: specify current page menu entry in following elements #19941 */ ?> -<?php /* finc: use <span class="flex-col"> around all <i> and class "flex" for all <a> #24014 */ ?> +<?php /* finc needs to add .facet-group class and classes on sub items for borders - + also adds 'aria-current' for correct menu action + finc needs to add '.facet-group' class and classes on sub items for borders - + finc: myresearch menu as list #19734 and wraps it in '<nav>' container, CK + finc: specify current page menu entry in following elements #19941 */ ?> <nav class="myresearch-menu"> <ul class="account-menu facet-group"> <?php if ($ilsOnline && $this->ils()->checkCapability('getMyTransactions', $capabilityParams)): ?> -- GitLab