Accessibility tool should follow rules for content inside roles
Categories
(DevTools :: Accessibility Tools, defect)
Tracking
(Not tracked)
People
(Reporter: kimflournoy, Unassigned)
Details
Attachments
(1 file)
471.29 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36
Steps to reproduce:
These code samples should cause an error in the accessibility tools for "Focusable elements should have interactive semantics):
<a href="#" role="log">role="log"</a>
<a href="#" role="timer">role="timer"</a>
Actual results:
The accessibility checker does not report any errors with the above code.
Expected results:
These roles are not listed in the "Roles Supporting Name from Content" list ( https://www.w3.org/TR/wai-aria-1.1/#namefromcontent ).
This similar code (correctly) causes the errors to be reported in the Firefox accessibility tool:
<a href="#" role="status">role="status"</a>
<a href="#" role="alert">role="alert"</a>
<a href="#" role="marquee">role="marquee"</a>
Updated•2 years ago
|
Description
•