WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: loading content and single page applications

for

From: _mallory
Date: Jul 1, 2016 8:57AM


I found a date picker with role="widget" out there.

On Fri, Jul 01, 2016 at 09:15:46AM -0500, Paul J. Adam wrote:
> Sorry have to reply to make sure folks know that "aria-alert" is not a real attribute. And there's no value of "loading" unless you're talking about supplying a string value to an aria-label?
>
> It's so simple for folks to make mistakes about how they spell their aria-attributes, here's the list http://www.w3.org/TR/wai-aria-1.1/#attrs_widgets
>
> I see incorrect, made up aria-attributes used in the wild on client sites fairly often so it's an easy thing to do if you're not using a code validator like HTML5 validator or aXe. Or you can let Dreamweaver autocomplete your aria-attributes for you and never have to remember all their exact spellings.
>
> I think you might be recommending using a aria-live="assertive" live region or to use role="alert" which is assertive.
>
> For speaking announcements to screen reader users I recommend either using ARIA Live Regions or JavaScript Focus Management to set focus to the spinner.gif with alt text.
>
> Paul J. Adam
> Accessibility Evangelist
> www.deque.com
>