frankliu197 opened a new issue, #18194: URL: https://github.com/apache/echarts/issues/18194
### Version 5.3.2 ### Link to Minimal Reproduction https://codesandbox.io/embed/polished-monad-v0vopl?fontsize=14&hidenavigation=1&theme=dark ### Steps to Reproduce Inspect the html construct of the two graphs and see the following  Both graphs have a rect element with an ID of 0. ### Current Behavior If you create more than one graphs on the same page, there will be duplicate html tags with the same ID. The id attribute should be unique to provide machine-readable identifier for elements on the page. More on this accessibility issue: https://www.w3.org/WAI/WCAG21/Techniques/html/H93 https://www.w3.org/WAI/WCAG21/Techniques/failures/F77 https://www.ibm.com/able/requirements/requirements/#4_1_1 Is it necessary to put an ID on the rect tag? ### Expected Behavior All IDs should be unique. ### Environment ```markdown https://codesandbox.io/embed/polished-monad-v0vopl?fontsize=14&hidenavigation=1&theme=dark ``` ### Any additional comments? _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
