This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 12591 - restrict img from taking @role=presentation whenever img provides link text
Summary: restrict img from taking @role=presentation whenever img provides link text
Status: RESOLVED MOVED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML a11y APIs (editor: Steve Faulkner, Cynthia Shelly) (show other bugs)
Version: unspecified
Hardware: PC All
: P3 normal
Target Milestone: ---
Assignee: steve faulkner
QA Contact: HTML a11y API spec bugbot
URL:
Whiteboard:
Keywords: a11y, a11ytf, aria
Depends on:
Blocks:
 
Reported: 2011-05-04 02:01 UTC by Leif Halvard Silli
Modified: 2016-04-07 15:38 UTC (History)
9 users (show)

See Also:


Attachments

Description Leif Halvard Silli 2011-05-04 02:01:39 UTC
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.
Comment 1 Martin Kliehm 2011-05-10 15:37:25 UTC
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.
Comment 2 steve faulkner 2013-08-16 09:06:20 UTC
(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
Comment 3 Charles McCathieNevile 2016-04-07 15:38:49 UTC
Moved to aria-in-html github: https://github.com/w3c/aria-in-html/issues/16