WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: What's the best way of announcing the value of the <input> text field in real-time

for

From: Mark Magennis
Date: Apr 8, 2021 1:57AM


Have you considered using the ARIA spinbutton role? https://www.w3.org/TR/wai-aria-practices-1.1/#spinbutton

I've never used this myself so I don't know how well it is supported by browser/AT combinations but I imagine that a screen reader would likely announce changes to the aria-valuenow property.

Mark