WebAIM - Web Accessibility In Mind

E-mail List Archives

aria-errormessage implementation

for

From: Wolfgang Berndorfer
Date: Aug 24, 2018 3:14PM


Hi,



Any ideas whether and how to use aria-errormessage? This attribute would be
useful, if it worked.



I tested with IE and MF, JAWS and NVDA, in connection with aria-invalid and
aria-live and redundant with aria-describedby. And I had a web research.



How it seems to me:



1. Browser and AT support is shaky and partially off spec. And essentially:
Often the screen reader does not announce what the referenced ID-element
would advise.



2. Combinations with other ARIA attributes (invalid, describedby, live)
announce too verbose and often redundant information for screen readers.
Example: Any idea, why aria-invalid MUST be used in conjunction
(https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage)? I'd assume that
aria-errormessage is used only when the input is invalid.



So how can we imply aria-errormessage responsibly at the moment?



Curious about Your input and errormessages!



Wolfgang