WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: search results not being announced


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

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.
> -----Original Message-----
> From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf
> Of Angela French
> Sent: Monday, July 31, 2017 4:14 PM
> To: WebAim Forum ( <EMAIL REMOVED> )
> Subject: [WebAIM] search results not being announced
> Hello,
> I'm hoping someone out there in this helpful community and help us figure
> out why the search results are not being announced on this
> page<http://devapps.sbctc.edu/TechPrepV2/SearchArticulations>;. There are
> four form elements to create the query, but just using the Search button
> will bring back guaranteed results. However they aren't announced. We are
> trying both area-live="assertive" and aria-atomic="true" and still no
> announcement that there are results now displayed on the page.
> Any guidance appreciated.
> Angela French
> Internet/Intranet Specialist
> Washington State Board for Community and Technical Colleges
> 360-704-4316
> www.sbctc.edu<;http://www.sbctc.edu/>;
> > > http://webaim.org/discussion/archives
> > >
> The information contained in this e-mail is confidential and/or proprietary
> to Capital One and/or its affiliates and may only be used solely in
> performance of work or services for Capital One. The information transmitted
> herewith is intended only for use by the individual or entity to which it is
> addressed. If the reader of this message is not the intended recipient, you
> are hereby notified that any review, retransmission, dissemination,
> distribution, copying or other use of, or taking of any action in reliance
> upon this information is strictly prohibited. If you have received this
> communication in error, please contact the sender and delete the material
> from your computer.
> > > > >

Work hard. Have fun. Make history.