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.
What is the screen reader's plan for determining the purpose of the attached JavaScript?