Re: Regarding discrepancy for ARIA sliders

Great that we could talk over this during APG meeting today and resolve it with a reference.
Thanks both, Bryan and Jon!

Jemma


From: Bryan Garaventa <bryan.garaventa@levelaccess.com>
Date: Tuesday, April 27, 2021 at 1:27 PM
To: Gunderson, Jon R (UIUC) <jongund@illinois.edu>, public-aria-practices@w3.org <public-aria-practices@w3.org>, Accessible Rich Internet Applications Working Group <public-aria@w3.org>
Subject: RE: Regarding discrepancy for ARIA sliders
Thanks, that is exactly what I was looking for. šŸ˜Š


Bryan Garaventa
Principal Accessibility Architect
Level Access, Inc.
Bryan.Garaventa@LevelAccess.com<mailto:Bryan.Garaventa@LevelAccess.com>
415.624.2709 (o)
www.LevelAccess.com<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.levelaccess.com%2F&data=04%7C01%7Cjku%40uic.edu%7C243077f405a64802d96908d909aa169a%7Ce202cd477a564baa99e3e3b71a7c77dd%7C0%7C0%7C637551448393317409%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=vuWEn%2BfAAyI3DEl%2BAMhxPzKyQa7J74ppXYzTMME6gb0%3D&reserved=0>

From: Gunderson, Jon R <jongund@illinois.edu>
Sent: Tuesday, April 27, 2021 11:14 AM
To: Bryan Garaventa <bryan.garaventa@levelaccess.com>; public-aria-practices@w3.org; Accessible Rich Internet Applications Working Group <public-aria@w3.org>
Subject: RE: Regarding discrepancy for ARIA sliders

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Bryan,

Here is the APG design pattern for multi-thumb slider that includes guidance for using aria-valuenow:
https://w3c.github.io/aria-practices/#slidertwothumb<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fw3c.github.io%2Faria-practices%2F%23slidertwothumb&data=04%7C01%7Cjku%40uic.edu%7C243077f405a64802d96908d909aa169a%7Ce202cd477a564baa99e3e3b71a7c77dd%7C0%7C0%7C637551448393317409%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=PdVq5qh3Dv4e8N1dJXbUtkHEzaKXc5Y5hABfjZXIEZo%3D&reserved=0>

In the ARIA Specification the  aria-valuenow attribute is required for the ā€œsliderā€ role, see authors ā€œMUST set the aria-valuenow attributeā€:
https://w3c.github.io/aria/#slider<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fw3c.github.io%2Faria%2F%23slider&data=04%7C01%7Cjku%40uic.edu%7C243077f405a64802d96908d909aa169a%7Ce202cd477a564baa99e3e3b71a7c77dd%7C0%7C0%7C637551448393327363%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=a%2Fs37taux%2B3zyn6TRHIQHt4FH2tp5TinJgd4bvnvMpw%3D&reserved=0>

From a practical point of view aria-valuenow needs to be defined since some browser and assistive technology combinations, especially legacy technology, ignore aria-valuetext and present the slider as a percentage.  If there is no aria-valuenow value, then no percentage.

Jon


From: Bryan Garaventa <bryan.garaventa@levelaccess.com<mailto:bryan.garaventa@levelaccess.com>>
Sent: Tuesday, April 27, 2021 12:01 PM
To: public-aria-practices@w3.org<mailto:public-aria-practices@w3.org>; Accessible Rich Internet Applications Working Group <public-aria@w3.org<mailto:public-aria@w3.org>>
Subject: 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<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2Fwww.w3.org%2FTR%2Fwai-aria-1.2%2F*slider__%3BIw!!DZ3fjg!va21MZlLvZNSWwLgdjOpDjT8C4Gey0WfYUFYqgk1kquQEqFOcviIBw-iEboUoO-DeA%24&data=04%7C01%7Cjku%40uic.edu%7C243077f405a64802d96908d909aa169a%7Ce202cd477a564baa99e3e3b71a7c77dd%7C0%7C0%7C637551448393327363%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=huVevESFL3j0HVh7lSC75rXDXEUCEI0XLnOA7tu2KuE%3D&reserved=0>

contradicts

https://www.w3.org/TR/wai-aria-practices-1.2/#slider<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2Fwww.w3.org%2FTR%2Fwai-aria-practices-1.2%2F*slider__%3BIw!!DZ3fjg!va21MZlLvZNSWwLgdjOpDjT8C4Gey0WfYUFYqgk1kquQEqFOcviIBw-iEbpjPnTEpw%24&data=04%7C01%7Cjku%40uic.edu%7C243077f405a64802d96908d909aa169a%7Ce202cd477a564baa99e3e3b71a7c77dd%7C0%7C0%7C637551448393327363%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Toz%2F5rSTaO97SKVtMQ2p6phZB05urHHsNcguj8pbhsk%3D&reserved=0>

The first clearly says

Authors MUST set the aria-valuenow<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2Fwww.w3.org%2FTR%2Fwai-aria-1.2%2F*aria-valuenow__%3BIw!!DZ3fjg!va21MZlLvZNSWwLgdjOpDjT8C4Gey0WfYUFYqgk1kquQEqFOcviIBw-iEbprjyI0Xg%24&data=04%7C01%7Cjku%40uic.edu%7C243077f405a64802d96908d909aa169a%7Ce202cd477a564baa99e3e3b71a7c77dd%7C0%7C0%7C637551448393337320%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=yphYd8UBDD4ygTQ3miH8dzNp922iZ5cWEL8u1xAhogk%3D&reserved=0> 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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2Fwww.w3.org%2FTR%2Fwai-aria-1.2%2F*aria-valuetext__%3BIw!!DZ3fjg!va21MZlLvZNSWwLgdjOpDjT8C4Gey0WfYUFYqgk1kquQEqFOcviIBw-iEbrduuqXMQ%24&data=04%7C01%7Cjku%40uic.edu%7C243077f405a64802d96908d909aa169a%7Ce202cd477a564baa99e3e3b71a7c77dd%7C0%7C0%7C637551448393337320%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=sz5lltcrwTaRPjO3e4mwJr2BWqCdpWkEam7ryKN00KQ%3D&reserved=0> 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<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__http%3A%2Fwww.levelaccess.com%2F__%3B!!DZ3fjg!va21MZlLvZNSWwLgdjOpDjT8C4Gey0WfYUFYqgk1kquQEqFOcviIBw-iEbo9WXe5kA%24&data=04%7C01%7Cjku%40uic.edu%7C243077f405a64802d96908d909aa169a%7Ce202cd477a564baa99e3e3b71a7c77dd%7C0%7C0%7C637551448393347282%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=BctVvqPGFPEbcrjRUXK2%2FP0jDzbjtPgkAAqLPU6Qj8A%3D&reserved=0>

Received on Tuesday, 27 April 2021 19:06:11 UTC