Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessibility: Open Package - Identifies back button as "Left hand arrow back button" #5930

Merged
merged 2 commits into from
Aug 14, 2019
Merged

Conversation

BatJan
Copy link
Contributor

@BatJan BatJan commented Jul 17, 2019

Prerequisites

  • I have added steps to test this contribution in the description below

This fixes issue 104 and 117 from #5277

Description

This PR wraps every found instance of the unicode character ← in a aria-hidden="true" element so screen reader don't read it out loud, since it does not make much sense.

Also all of the places where the back button was used are refactored from <a> to <button> and styling has been fixed accordingly. Once this PR is approved I'll have a look at making some kind of button component since I noticed the exact same look and feel being implemented differently in the examine dashboard 😃

@BatJan BatJan changed the title Open Package - Identifies back button as "Left hand arrow back button" (Issue 104 from the accessibility list) Accessibility: Open Package - Identifies back button as "Left hand arrow back button" Jul 21, 2019
@emmaburstow
Copy link
Contributor

Yay! Another win for accessibility. Thanks Jan,

Em

@nul800sebastiaan
Copy link
Member

Sweet! Thanks @BatJan! ⭐️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants