Skip to content

Commit d36fa98

Browse files
author
Dmytro Poperechnyy
committed
MAGETWO-34477: Backend Menu Accessibility improvements
- Used data ui id instead of uniqid;
1 parent d16014c commit d36fa98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Backend/Block/Menu.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ public function renderNavigation($menu, $level = 0, $limit = 0, $colBrakes = [])
449449
$output .= '</ul></li><li class="column"><ul>';
450450
}
451451

452-
$id = uniqid();
452+
$id = $this->getJsId($menuItem->getId());
453453
$output .= '<li ' . $this->getUiId(
454454
$menuItem->getId()
455455
) . ' class="item-' . $itemClass . ' ' . $this->_renderItemCssClass(

0 commit comments

Comments
 (0)