Open Bug 1607565 Opened 5 years ago Updated 2 years ago

Accessibility tool should follow rules for content inside roles

Categories

(DevTools :: Accessibility Tools, defect)

72 Branch
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: kimflournoy, Unassigned)

Details

Attachments

(1 file)

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>

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.