This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Restrict img from taking @role=presentation whenever img provides link text. Suggested method for solving this bug: in the #table-aria-weak, then, for "img element whose alt attribute's value is present and not empty", add a restriction in the third column saying that for img elements whose alt attribute is used to provide link text, then role=presentation MUST NOT be used. See: http://dev.w3.org/html5/spec/embedded-content-1#a-link-or-button-containing-nothing-but-the-image.
Bug-triage sub-team adding the a11yTF keyword because this issue is already discussed in the TF and related to ongoing work regarding @alt validation.
(In reply to comment #0) > Restrict img from taking @role=presentation whenever img provides link text. > > Suggested method for solving this bug: in the #table-aria-weak, then, for > "img element whose alt attribute's value is present and not empty", add a > restriction in the third column saying that for img elements whose alt > attribute is used to provide link text, then role=presentation MUST NOT be > used. > > See: > http://dev.w3.org/html5/spec/embedded-content-1#a-link-or-button-containing- > nothing-but-the-image. Hi leif, we are looking at the approriateness of role=presentation for <img> without alt at the moment see bug https://www.w3.org/Bugs/Public/show_bug.cgi?id=22930
Moved to aria-in-html github: https://github.com/w3c/aria-in-html/issues/16