WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Use of live regions for announcing additions anddeleteions

for

From: Bryan Garaventa
Date: May 16, 2015 10:18PM


Very true, multiple firings of the Alert role will cause anything announced before it to be interrupted, so alerts in general should only be to convey very important information at one time.

Though less severe as Alert, the use of aria-live="assertive" will sometimes interrupt speech on some devices too, so this is important to keep in mind as well.

If you need to have multiple contiguous messages announced in succession, aria-live="polite" should be used.

-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of Lynn Holdsworth
Sent: Saturday, May 16, 2015 1:42 PM
To: WebAIM Discussion List
Subject: Re: [WebAIM] Use of live regions for announcing additions and deleteions

Hi Rob,

The various screenreaders might treat two alerts firing off at once very differently, so you may want to avoid this approach. Just to be sure the messages are read in the order you want, you could choose not to give the second region a role of "alert" and set its aria-live value to "polite".

KR, Lynn



> On 16 May 2015, at 20:51, Robert Fentress < <EMAIL REMOVED> > wrote:
>
> Responses inserted below:
>
> On Fri, May 15, 2015 at 4:46 PM, Lynn Holdsworth
> < <EMAIL REMOVED> >
> wrote:
>
>> Hi Rob,
>>
>> As a screenreader user, I personally prefer the shortest message
>> possible that gives me enough information to know what happened.
>> "Item added" and "Item deleted" would work for me.
>
> So, if the record count live region was included, as I think it should
> be anyway, due to the search field that dynamically updates the list
> of records, do you think this would be enough? Or would both the
> record count live region and a separate live region for the "Item added/deleted" be best?
>
>
>>
>> Making the live region invisible may cause it not to be read by
>> screenreaders on mobile devices.
>
> Good to know. Thanks!
>
> Best,
> Rob
>
>
>
> --
> Robert Fentress
> Senior Accessibility Solutions Designer
> 540.231.1255
>
> Technology-enhanced Learning & Online Strategies Assistive
> Technologies
> 1180 Torgersen Hall
> 620 Drillfield Drive (0434)
> Blacksburg, Virginia 24061
> > > archives at http://webaim.org/discussion/archives
>