WebAIM - Web Accessibility In Mind

E-mail List Archives

4.1.2 correct roles


From: konstantin galiakhmetov
Date: Aug 24, 2022 2:44AM

hello all:
how do you thinkk The Following Code Snippet is a failure of SC 4.1.2 or
<h1 onclick="alert('hello')">Test</h1>
SC4.1.2  requreis that For all user interface components role can be
programmatically determined and in this code snipped the role can be
programmatically determined. I mean <h1> has  implicit role "heading" so
here no any errors. Or not?
what do you think about it?