mirror of
https://github.com/processwire/processwire.git
synced 2025-08-29 01:20:25 +02:00
Use aria-current also in built in site profiles
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
// top navigation consists of homepage and its visible children
|
||||
foreach($homepage->and($homepage->children) as $item) {
|
||||
if($item->id == $page->rootParent->id) {
|
||||
echo "<li class='current'><span class='visually-hidden'>" . _x('Current page:', 'navigation') . " </span>";
|
||||
echo "<li class='current' aria-current='true'><span class='visually-hidden'>" . _x('Current page:', 'navigation') . " </span>";
|
||||
} else {
|
||||
echo "<li>";
|
||||
}
|
||||
|
Reference in New Issue
Block a user