Regarding discrepancy for ARIA sliders

Hi,
We had a customer question our flagging of an element role=slider being for lack of an aria-valuenow. Their slider is a double-thumb one for specifying a low and high value. Instead of an aria-valuenow they specify an aria-valuetext="From 27 to 48" or whatever the two thumbs are set to. It seems that

https://www.w3.org/TR/wai-aria-1.2/#slider

contradicts

https://www.w3.org/TR/wai-aria-practices-1.2/#slider

The first clearly says

Authors MUST set the aria-valuenow<https://www.w3.org/TR/wai-aria-1.2/#aria-valuenow> attribute.

and that a missing aria-valuenow can trigger browser repair techniques. While the second says

"If the value of aria-valuenow is not user-friendly, e.g., the day of the week is represented by a number, thearia-valuetext<https://www.w3.org/TR/wai-aria-1.2/#aria-valuetext> property is set to a string that makes the slider value understandable, e.g., "Monday".

So basically, which is it? Should aria-valuenow be a soft requirement or a hard one from the perspective of conformance checkers?

Thanks,
Bryan



Bryan Garaventa
Principal Accessibility Architect
Level Access, Inc.
Bryan.Garaventa@LevelAccess.com<mailto:Bryan.Garaventa@LevelAccess.com>
415.624.2709 (o)
www.LevelAccess.com<http://www.levelaccess.com/>

Received on Tuesday, 27 April 2021 17:01:38 UTC