Commit f5adde06 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

missing aria-expanded in menu

(cherry picked from commit a7472d92)
parent 99e29a14
...@@ -171,7 +171,7 @@ if($need_alert_display == true) { ...@@ -171,7 +171,7 @@ if($need_alert_display == true) {
foreach($topMenuItem->Children as $subMenuItem): ?> foreach($topMenuItem->Children as $subMenuItem): ?>
<?php <?php
if ($subMenuItem->Url == '' ):?> if ($subMenuItem->Url == '' ):?>
<a href="#<?=$topMenuItem->Id;?>_<?=$subMenuItem->Id;?>" class="list-group-item <?=$subMenuItem->Selected ? "active-menu-title" : "";?>" data-toggle="collapse" data-parent="#<?=$topMenuItem->Id;?>"> <a href="#<?=$topMenuItem->Id;?>_<?=$subMenuItem->Id;?>" class="list-group-item <?=$subMenuItem->Selected ? "active-menu-title" : "";?>" data-toggle="collapse" data-parent="#<?=$topMenuItem->Id;?>" aria-expanded="<?=$subMenuItem->Selected ? "true" : "false";?>">
<div style="display: table;width: 100%;"> <div style="display: table;width: 100%;">
<div style="display: table-row"> <div style="display: table-row">
<div style="display: table-cell"><?=gettext($subMenuItem->VisibleName);?></div> <div style="display: table-cell"><?=gettext($subMenuItem->VisibleName);?></div>
...@@ -194,7 +194,7 @@ if($need_alert_display == true) { ...@@ -194,7 +194,7 @@ if($need_alert_display == true) {
</div> </div>
<?php <?php
elseif ($subMenuItem->IsExternal == "Y" ):?> elseif ($subMenuItem->IsExternal == "Y" ):?>
<a href="<?=$subMenuItem->Url;?>" target="_new" class="list-group-item <?=$subMenuItem->Selected ? "active" : "";?>"> <a href="<?=$subMenuItem->Url;?>" target="_new" class="list-group-item <?=$subMenuItem->Selected ? "active" : "";?>" aria-expanded="<?=$subMenuItem->Selected ? "true" : "false";?>">
<div style="display: table;width: 100%;"> <div style="display: table;width: 100%;">
<div style="display: table-row"> <div style="display: table-row">
<div style="display: table-cell"><?=gettext($subMenuItem->VisibleName);?></div> <div style="display: table-cell"><?=gettext($subMenuItem->VisibleName);?></div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment