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: remove duplicate path ids from spectrum-icons.svg #175

Merged
merged 1 commit into from
May 24, 2021

Conversation

majornista
Copy link
Collaborator

Description

Should fix Selenium test failures:

  • "Document has multiple elements with the same id attribute: spectrum-icon-24-StartConversion"
  • "Document has multiple elements with the same id attribute: _256"

Related issues: https://jira.corp.adobe.com/browse/GRANITE-33028 and #173.

Related Issue

Motivation and Context

Automated accessibility testing will report an error message when there are one or more duplicate ids in a document. In some cases, as with "spectrum-icon-24-StartConversion" a symbol may be duplicated in the svg, while elsewhere, as with paths with id="_256", SVG editing software might generate an id for a path, and if the path is then copied to another symbol, the id might be duplicated.

How Has This Been Tested?

Tested using aXe Chrome extension against /coral-component-icon/examples/index.html

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.

@ShreeSub
Copy link
Contributor

@Pareesh can you please review this?

Copy link
Collaborator

@Pareesh Pareesh left a comment

Choose a reason for hiding this comment

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

LGTM, Thank you

@majornista majornista merged commit 563ca0d into adobe:master May 24, 2021
github-actions bot pushed a commit that referenced this pull request May 25, 2021
## [4.10.23](v4.10.22...v4.10.23) (2021-05-25)

### Bug Fixes

* remove duplicate path ids from spectrum-icons.svg ([#175](#175)) ([563ca0d](563ca0d))
@github-actions
Copy link

🎉 This PR is included in version 4.10.23 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

None yet

3 participants