Open philljenkins opened 2 months ago
This clause can be revisited and/or clarified:
Implementation of the Presentational Roles Conflict Resolution differs slightly from one user agent to the other. Hence, some elements might be exposed by one user agent and not by another, and consequently might create accessibility issues only for some users. Nevertheless, triggering the conflict is a bad practice.
@WilcoFiers The rule notes that this rule is because that some agents don't resolve the role conflict, but Chrome, Firefox, and Safari all recognize this test case as an image. Do you know what user agent doesn't handle this correctly?
In the ACT test case below the ARIA label does go into the accessibility tree in Chrome and FF, so the accessible name is not empty. Although the developer may be confused because
alt=""
was added in their source code, perhaps thinking or hoping it would mark the img as decorative, but it wasn't, due to thealt
attribute being ignored/overridden by thearia
attribute because of the accessible name calculation spec for browsers.Perhaps the implementers should report a warning or recommendation notifying the developer of the contradiction.
ACT should clarify why the Failed 2 above is a valid fail test case for ACT ruleID 46ca7f: Element marked as decorative is not exposed - see label (accessible name) results in accessibility tree in browsers
Other references:
IBM Equl Access Accessibility Checker https://github.com/IBMa/equal-access/issues/2013