jejacks0n / navigasmic

Navigasmic: Semantic navigation for Rails using simple view level or configuration definitions.
322 stars 29 forks source link

Add a specific attribute to a link when it is active #51

Open jmuheim opened 9 years ago

jmuheim commented 9 years ago

I need to make my web application accessible, so I have to tell screenreader users what the current menu item is by adding a aria-label="current" to the active link.

How can this be done?