WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: search results not being announced

for

From: Birkir R. Gunnarsson
Date: Jul 31, 2017 8:10PM


Anglea.
You are putting wayyyy too many live region attributes on the page.
Remember that a screen reader is supposed to automatically read all
the content in a live region.
You don´t want a screen reader to automatically start reading all the
search results.
There are even two nested elements on the page with aria-live="true"
and aria-atomic="true" (aria-atomic means, read the entire content of
this live region, not just the part that was updated).
I would take all aria-live attributes of the page and add them back on
the container element for the span with the number of search results.
(span with id=MainContent_LitRecordsFound).

Give that a spin and see if that is a better starting point.



On 7/31/17, Lovely, Brian (CONT) via WebAIM-Forum
< <EMAIL REMOVED> > wrote:
> I think for aria-live to pick up a change, it has to be on an element that
> is part of the dom on load. So if you had a div that was part of the dom on
> load and it had aria-live on it, when you injected the search results table
> into that div it should read out.
>
>