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

fix(a11y): fix card violations #379

Merged
merged 1 commit into from
Jan 9, 2020
Merged

fix(a11y): fix card violations #379

merged 1 commit into from
Jan 9, 2020

Conversation

Elohina
Copy link
Collaborator

@Elohina Elohina commented Jan 8, 2020

Closes #375

Description
Fix accessibility violations regarding to the card-base component. This component is using an inlineSVG element to show the SVG symbol decorative-arrow-right which by default doesn't have a title to be referenced. This was causing an ARIA error since there was mismatch between the aria-labelledby and the no existent title of that particular SVG symbol.

NOTE: Other solution could have been to add a <title> to the SVG symbol decorative-arrow-right but this title can change depending on the context where it is being used.

Also this PR fixes a typo in the README file.

affects: @buildit/gravity-ui-nunjucks, @buildit/gravity-ui-web

Fix aria-labelledby error in svg images

ISSUES CLOSED: #375
Copy link

@james-nash james-nash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicely done. Thanks for fixing this! 👏

@Elohina Elohina merged commit 5b8a4d7 into next Jan 9, 2020
@Elohina Elohina deleted the a11y-fix-card-violations branch January 9, 2020 09:38
@buildit-dev
Copy link

🎉 This PR is included in version 3.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@buildit-dev buildit-dev added the released STATUS: This change has been released. label Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released STATUS: This change has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants