Same as a button. Read the text in the element. If no text, skip it or say "clickable".
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.
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?