meganthecoder commented on issue #21022:
URL: https://github.com/apache/echarts/issues/21022#issuecomment-2971870870

   @helgasoft I see the svg rendered now, but this is still not accessible by 
[WCAG](https://www.w3.org/WAI/standards-guidelines/wcag/) standards. Please 
look back at my description where I call out that the legend items should be 
button elements (or other elements with `role=button`) with name and value 
properties. They should also be tabbable, which you get for free if you use the 
button element. Here are the W3C docs for a button and you can specifically see 
the callout for the "toggle button" that applies in our case: 
https://www.w3.org/WAI/ARIA/apg/patterns/button/
   
   Accessibility can't be fully tested without a screen reader so I'd encourage 
you to try it out:
   - VoiceOver on Mac: https://support.apple.com/guide/voiceover/welcome/mac
   - NVDA for Windows: https://www.nvaccess.org/


-- 
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]

Reply via email to