W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 2017

RE: progressbar role

From: Jan Hellbusch <hellbusch@2bweb.de>
Date: Tue, 14 Nov 2017 20:26:54 +0100
To: "'W3C WAI-IG'" <w3c-wai-ig@w3.org>
Cc: "'Michael A. Peters'" <mpeters@domblogger.net>
Message-ID: <003101d35d7e$87f7e8f0$97e7bad0$@2bweb.de>
Hi,

using a progressbar role should generally not "compete" with the media, because the progressbar role is not a live region. Sometimes it is used as a live region (with aria-live), but that is a different matter. You should be OK with the role progressbar (or timer, which has an implicit aria-live="off"). 

Do you have a test case? Do screen readers treat role="progressbar" as a live region?

Jan


--
Jan Hellbusch Accessibility Consulting
Chemnitzer Str. 50, 44139 Dortmund
Tel.: +49 (231) 58054815 Mobil: +49 (163) 3369925
--
Accessibility-Consulting seit 15 Jahren: https://2bweb.de
Blog: https://www.hellbusch.de
B├╝cher, Artikel: https://www.barrierefreies-webdesign.de




> -----Original Message-----
> From: Michael A. Peters [mailto:mpeters@domblogger.net]
> Sent: Tuesday, November 14, 2017 7:33 PM
> To: W3C WAI-IG <w3c-wai-ig@w3.org>
> Subject: progressbar role
> 
> https://developer.mozilla.org/en-
> US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_progressbar
> _role
> 
> I have custom html5 media player, with a custom progress bar.
> 
> According to the mozilla page, it says that user agents should read the the
> progress every time it updates - but when the progress is for how much of
> the media has played it seems that would compete with the audio from the
> media itself.
> 
> Should I not use role="progressbar" in the context of media with audio, or is
> there maybe a way to tell it to be quiet unless the user asks it for the current
> progress?
> 
> I am wondering if the context of a media player is maybe wrong for that
> particular role.
> 
> I currently update the title attribute of the progress bar to identify the
> percentage of the media that has played, is that good enough or do I really
> need to give it a progressbar role?
> 
> Thank you for suggestions.
> 
> I'm not using a native html5 progress tag because I need a few things it
> doesn't support.
> 
Received on Tuesday, 14 November 2017 19:27:21 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 6 December 2017 16:04:47 UTC