Steps to replicate the issue (include links if applicable):
- Go to https://ru.wikipedia.org/wiki/Грузия with JS disabled
- See the code <a role="button" tabindex="0" in page HTML
What should have happened instead?:
Hey, great job on your work with Phonos, I really appreciate it.
Since without Phonos JS the element that links to the audio is just a link, button semantics should be added via JS and not be present in HTML at all times. Otherwise we have a WCAG violation. Styling should probably also be less button-like when it doesn’t function as a button, but that’s less of a concern.