diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 17f0d7e6140..28597f89181 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -3437,6 +3437,9 @@ EOD; if ($item->hidden) { $attributes['class'] = 'dimmed_text'; } + if ($item->is_last()) { + $attributes['aria-current'] = 'page'; + } $content = html_writer::tag('span', $content, array('itemprop' => 'title')); $content = html_writer::link($item->action, $content, $attributes); diff --git a/lib/templates/navbar.mustache b/lib/templates/navbar.mustache index 207081f4e64..2998888315e 100644 --- a/lib/templates/navbar.mustache +++ b/lib/templates/navbar.mustache @@ -68,7 +68,7 @@ {{#get_items}} {{#has_action}}