<?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>24593</bug_id>
          
          <creation_ts>2014-02-10 09:56:32 +0000</creation_ts>
          <short_desc>longdesc and @role (ARIA)</short_desc>
          <delta_ts>2014-06-13 18:04:42 +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 Image Description Extension</component>
          <version>unspecified</version>
          <rep_platform>Macintosh</rep_platform>
          <op_sys>Mac System 9.x</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://dev.w3.org/html5/spec/embedded-content-1.html#the-img-element</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>a11y, a11y_text-alt, aria</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>10016</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="steve faulkner">faulkner.steve</reporter>
          <assigned_to name="Charles McCathieNevile">chaals</assigned_to>
          <cc>ian</cc>
    
    <cc>jcraig</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>xn--mlform-iua</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>100116</commentid>
    <comment_count>0</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2014-02-10 09:56:32 +0000</bug_when>
    <thetext>+++ This bug was initially created as a clone of Bug #10016 +++

To present an &lt;img&gt; with a longdesc the best way to AT users, what role should this &lt;img&gt; have:
&lt;img src=foo alt=&quot;Bar. Bas.&quot; longdesc=&quot;longdesc.html&quot;&gt;

Does this make sence - if yes, are there cases when it does not make sense:
&lt;img role=&quot;link img&quot; src=foo alt=&quot;Bar. Bas.&quot; longdesc=&quot;longdesc.html&quot;&gt;

What about a presentational image - this should probably be invalid, since presentational images are ignored by AT users. (I guess @aria-describedby on same imags, should also be invalid?)
&lt;img role=&quot;presentation&quot; src=foo alt=&quot;&quot; longdesc=&quot;longdesc.html&quot;&gt;
&lt;img                                     src=foo alt=&quot;&quot; longdesc=&quot;longdesc.html&quot;&gt;

Are there other meaningful/unmeaningful roles when @longdesc is used?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100249</commentid>
    <comment_count>1</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2014-02-11 07:04:46 +0000</bug_when>
    <thetext>&lt;img&gt; should always use the img role by default, regardless if it has @alt, @longdesc, or @title. 

Re: presentation. I&apos;ve been considering making whether we should make it an author warning if people use role=&quot;presentation&quot; on leaf img nodes (with no rendered subtree like svg). Authors almost always intend something else here, usually @aria-hidden.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107790</commentid>
    <comment_count>2</comment_count>
    <who name="Charles McCathieNevile">chaals</who>
    <bug_when>2014-06-13 18:04:42 +0000</bug_when>
    <thetext>There&apos;s no special reason why a presentational image cannot have a description. While screenreader users might not look at it - and after all the point of longdesc is that nobody is required to look at it, it is always optional, although the description it points to *may* have been inserted directly into the page content - it can be used by image management tools, search engines and even sighted users.

Therefore there is no reason for the longdesc spec to say anything about this either way.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>