Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Add aria labels to account manager nav elements #593

Merged
merged 1 commit into from
Jan 14, 2021

Conversation

danacotoran
Copy link
Contributor

@danacotoran danacotoran commented Jan 13, 2021

The account manager prototype currently has two navigation landmarks, one being in the site header, and another being the account menu.

WCAG SC 2.4.1 states that when there are multiple navigation landmarks of the same kind on a page, they should be labelled in order to help assistive tech users differentiate between them.

This adds relevant labels to these landmarks to improve navigation for screen reader users.


Important: ✨ depends on this PR which introduces the ability to pass a custom aria label to the layout_header component.


Before: not labelled, both navs just say Navigation

Screenshot 2021-01-11 at 09 23 35

After: navs have labels, therefore they are clearer

Screenshot 2021-01-13 at 18 07 50

https://trello.com/c/1cnffruq

The account manager prototype currently had two navigation landmarks,
one being in the site header, and another being the account menu.

WCAG SC 2.4.1 states that when there are multiple navigation landmarks
of the same kind on a page, they should be labelled in order to help
assistive tech users differentiate between them.

This adds relevant labels to these landmarks to improve navigation for
screen reader users.
@danacotoran danacotoran merged commit f9041b9 into main Jan 14, 2021
@danacotoran danacotoran deleted the account-navigation-aria-labels branch January 14, 2021 17:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants