Re:Just Use a Button
by randyrand on Friday October 31, 2025 @03:57PM
(#45776048)
All of those seem like examples of things you’d want your screen reader to tell you about.
[ Parent
| on HN ]
Sure.
What is the screen reader's plan for determining the purpose of the attached JavaScript?
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.