WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: 4.1.2 correct roles

for

From: wolfgang.berndorfer@zweiterblick.at
Date: Aug 24, 2022 10:26AM


I would suppose that the following interpretation of 4.1.2 would make no sense:
“All user interface components need ANY role that can be programmatically determined.”
Here is a fitting sufficient technique for this misinterpretation:
“Mark up each user interface component as a link.”

F59 states that using script to make div or span a user interface control is a failure.
https://www.w3.org/WAI/WCAG21/Techniques/failures/F59
Why is it a failure?
“Assistive technologies rely on knowledge of the role and current state of a component in order to provide that information to the user.”

IMO the spirit of SC 4.1.2 is to apply the FITTING role.


-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of konstantin galiakhmetov
Sent: Wednesday, August 24, 2022 4:23 PM
To: <EMAIL REMOVED>
Subject: Re: [WebAIM] 4.1.2 correct roles

hello,

yes, i think that the heading is not correct role too,but

it is seems that SC4.1.2 does not require a correct role, it requires that role can be programmatically determined at all Or not?
i jast trie to understand.


thank in advance!