How can I get the screen reader to read out an error message that I displayed inline on a page?

1 · Raymond Chen · Oct. 18, 2021, 2:01 p.m.
It’s the current fashion to show error messages inline, rather than displaying a pop-up error message. Password: •••••               The password is incorrect. Please recheck it and try again. This looks prettier, I guess, but it does cause problems with screen readers. The post How can I get the screen reader to read out an error message that I displayed inline on a page? appeared first on The Old New Thing....