mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
A11Y: aria-current="page" is more appropriate for navigation bar links (#27835)
This commit is contained in:
parent
8fa61410aa
commit
0ac1a43fef
@ -1,7 +1,7 @@
|
||||
<a
|
||||
href={{this.hrefLink}}
|
||||
class={{this.activeClass}}
|
||||
aria-current={{if this.activeClass "true"}}
|
||||
aria-current={{if this.activeClass "page"}}
|
||||
>
|
||||
{{#if this.hasIcon}}
|
||||
<span class={{this.content.name}}></span>
|
||||
|
Loading…
Reference in New Issue
Block a user