This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
md-icon / accesibility / validation usage with svg (i.e: https://www.google.com/design/icons/) duplicate id's issue #6796
Labels
Milestone
When using the same icon twice in a page the html validation fails due to 2 elements having the same ID.
Since md-icon adds the svg element with the attrbute : md-svg-icon which accepts an id as an input, Is it possible to add the svg element without it's id - so the validation error wont occur?
a codepen :
http://codepen.io/noamamit92/pen/adGjYp#0
notice that if you run the accessibility Audit using your chrome accessibility plugin you will get a duplicate id error for the g element under the svg
The text was updated successfully, but these errors were encountered: