by randyrand · 1y ago · 0 comments
Are you sure? Screen readers should be able to detect a div with a onclick as interactable, no? And if they can’t, that seems like an exceedingly simple fix. I’d be shocked if they can’t already detect onclick.
What is the screen reader's plan for determining the purpose of the attached JavaScript?
I'm not arguing a div is better. I'm just saying screen readers could announce a div with an onclick if they wanted to.