Better (more accessible) active link styling

Chris Ferdinandi / filed under Accessibility, HTML & CSS

I just learned that I should have been using [aria-current] to indicate the current page in the navigation.

Subscribe to newsletter

Design and frontend links delivered to your inbox every day and week. No spam, unsubscribe at anytime.

Choose frequency

Permission