<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>12591</bug_id>
          
          <creation_ts>2011-05-04 02:01:39 +0000</creation_ts>
          <short_desc>restrict img from taking @role=presentation whenever img provides link text</short_desc>
          <delta_ts>2016-04-07 15:38:49 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML a11y APIs (editor: Steve Faulkner, Cynthia Shelly)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>a11y, a11ytf, aria</keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Leif Halvard Silli">xn--mlform-iua</reporter>
          <assigned_to name="steve faulkner">faulkner.steve</assigned_to>
          <cc>bhawkeslewis</cc>
    
    <cc>chaals</cc>
    
    <cc>laura.lee.carlson</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-a11y</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>w3c</cc>
    
    <cc>xn--mlform-iua</cc>
          
          <qa_contact name="HTML a11y API spec bugbot">sideshowbarker+html-a11y-api</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>47923</commentid>
    <comment_count>0</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2011-05-04 02:01:39 +0000</bug_when>
    <thetext>Restrict img from taking @role=presentation whenever img provides link text.

Suggested method for solving this bug: in the #table-aria-weak, then,  for  &quot;img element whose alt attribute&apos;s value is present and not empty&quot;, 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48443</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Kliehm">w3c</who>
    <bug_when>2011-05-10 15:37:25 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92142</commentid>
    <comment_count>2</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2013-08-16 09:06:20 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; Restrict img from taking @role=presentation whenever img provides link text.
&gt; 
&gt; Suggested method for solving this bug: in the #table-aria-weak, then,  for 
&gt; &quot;img element whose alt attribute&apos;s value is present and not empty&quot;, add a
&gt; restriction in the third column saying that for img elements whose alt
&gt; attribute is used to provide link text, then  role=presentation MUST NOT be
&gt; used. 
&gt; 
&gt; See: 
&gt; http://dev.w3.org/html5/spec/embedded-content-1#a-link-or-button-containing-
&gt; nothing-but-the-image.

Hi leif, 

we are looking at the approriateness of role=presentation for &lt;img&gt; without alt at the moment see bug https://www.w3.org/Bugs/Public/show_bug.cgi?id=22930</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125757</commentid>
    <comment_count>3</comment_count>
    <who name="Charles McCathieNevile">chaals</who>
    <bug_when>2016-04-07 15:38:49 +0000</bug_when>
    <thetext>Moved to aria-in-html github: https://github.com/w3c/aria-in-html/issues/16</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>