<?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>26868</bug_id>
          
          <creation_ts>2014-09-20 00:07:10 +0000</creation_ts>
          <short_desc>Incorporate longdesc</short_desc>
          <delta_ts>2016-02-23 11:34:59 +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>LC1 alt techniques (editor: Steven Faulkner)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>a11ytf</keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Liam R E Quin">liam</reporter>
          <assigned_to name="Liam R E Quin">liam</assigned_to>
          <cc>chaals</cc>
    
    <cc>faulkner.steve</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>shane</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>111869</commentid>
    <comment_count>0</comment_count>
    <who name="Liam R E Quin">liam</who>
    <bug_when>2014-09-20 00:07:10 +0000</bug_when>
    <thetext>The examples in the ALT note need to be reviewed for compatibiliy with the longdesc HTML extension.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117470</commentid>
    <comment_count>1</comment_count>
    <who name="Liam R E Quin">liam</who>
    <bug_when>2015-01-24 07:10:47 +0000</bug_when>
    <thetext>A good candidate to introduce longdesc might be the diagram example.

We have now,
[[
In the following example we have an image of a pie chart, with text in the alt attribute representing the data shown in the pie chart
]]

However, since Web browsers don&apos;t display alt text if it&apos;s too long to fit in the space allocated for the image (assuming width and height are supplied, eaither as attributes or from CSS, and default overflow rules), and not all browsers will even wrap alt text if it&apos;s too wide, we can&apos;t rely on being able to describe a pie chart in an alt attribute.

In any case even if we did, it would be extraordinarily irritating to have to listen to the long image description every time.

So I suggest.
[[
In the following example we have an image of a pie chart, with text in the alt attribute explaining that it is a pie chart, and the longdesc attribute giving a link to a full explanation with the colours, percentages and proportions. Note that a useful alternative representation of a pie chart might be to include a table of the same data in the document, and to use the ARIA describedby attribute to point to it, but that technique does not work for most diagrams, and a detailed description of an image (it&apos;s a circle with...) does not belong in the document itself for most readers.

&lt;img src=&quot;piechart.png&quot; alt=&quot;Pie chart: Browser Share&quot; longdesc=&quot;browsershare.html&quot;&gt;
]]
I think the rest of this example is OK, although use of describedat would help it considerably.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125221</commentid>
    <comment_count>2</comment_count>
    <who name="Charles McCathieNevile">chaals</who>
    <bug_when>2016-02-23 11:34:59 +0000</bug_when>
    <thetext>We believe that Liam will propose changes to HTML at some point, based on the work on the &quot;alt text guidance&quot; in the HTML a11y TF</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>