mirror of
https://github.com/processwire/processwire.git
synced 2025-08-20 05:21:29 +02:00
Use aria-current also in built in site profiles
This commit is contained in:
@@ -48,7 +48,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'>Current page: </span>";
|
||||
echo "<li class='current' aria-current='true'><span class='visually-hidden'>Current page: </span>";
|
||||
} else {
|
||||
echo "<li>";
|
||||
}
|
||||
|
Reference in New Issue
Block a user