Skip to content

Commit 186c260

Browse files
authored
Add aria-current="page" to current language link (#459)
Fixes #458
1 parent 7d08ad4 commit 186c260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/MslsOutput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function get( ?int $display, bool $filter = false, $exists = false ): arr
7979
'<a href="%s" title="%s"%s>%s</a>',
8080
$url,
8181
$link->txt,
82-
$is_current_blog ? ' class="current_language"' : '',
82+
$is_current_blog ? ' class="current_language" aria-current="page"' : '',
8383
$link
8484
);
8585
}

0 commit comments

Comments
 (0)