<?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>14937</bug_id>
          
          <creation_ts>2011-11-25 21:20:52 +0000</creation_ts>
          <short_desc>Replace poor coding example for figure with multiple images</short_desc>
          <delta_ts>2012-04-20 02:55: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>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>a11y, a11y_text-alt, WGDecision</keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="steve faulkner">faulkner.steve</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>bhawkeslewis</cc>
    
    <cc>ian</cc>
    
    <cc>marco</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-a11y</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>rubys</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>60507</commentid>
    <comment_count>0</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2011-11-25 21:20:52 +0000</bug_when>
    <thetext>the figure element section http://dev.w3.org/html5/spec/grouping-content.html#the-figure-element contains an example where a figure contains multiple related images. The caption text for each of the images is contained in the img element title attribute. This example promotes an anti-pattern that reduces the accessibility of the content. 

recommend replacing the example with an example using nested figure elements:

Refer to http://www.html5accessibility.com/tests/figures-nested.html for further details and alternative example code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61147</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-12-07 23:01:38 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: This isn&apos;t an antipattern. It is a best practice. If current ATs don&apos;t make it accessible, then I recommend approaching AT vendors and explaining to them that they&apos;re not properly exposing HTML semantics.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61217</commentid>
    <comment_count>2</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2011-12-08 07:40:48 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are
&gt; satisfied with this response, please change the state of this bug to CLOSED. If
&gt; you have additional information and would like the editor to reconsider, please
&gt; reopen this bug. If you would like to escalate the issue to the full HTML
&gt; Working Group, please add the TrackerRequest keyword to this bug, and suggest
&gt; title and text for the tracker issue; or you may create a tracker issue
&gt; yourself, if you are able to do so. For more details, see this document:
&gt;    http://dev.w3.org/html5/decision-policy/decision-policy.html
&gt; 
&gt; Status: Rejected
&gt; Change Description: no spec change
&gt; Rationale: This isn&apos;t an antipattern. It is a best practice. If current ATs
&gt; don&apos;t make it accessible, then I recommend approaching AT vendors and
&gt; explaining to them that they&apos;re not properly exposing HTML semantics.

You obviously misunderstand, this issue has nothing to do with AT, your &apos;best practice&apos; is based on a fiction that the title attribute content is available to all users via the browser, it is most evidently not. All browser vendors are aware of the issue (http://markmail.org/message/udftstmjgis5bdiu), but have chosen not to do anything about it (for the last ten years). When you have convinced browser vendors (apple, google, opera and microsoft) to fix the issue, i.e. keyboard and touch screen users can access the title attribute content, then you can claim your anti-pattern as a best practice. Until that point it does not deserve to be in the W3C HTML5 spec and its inclusion does a disservice to a range of users.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61219</commentid>
    <comment_count>3</comment_count>
    <who name="Benjamin Hawkes-Lewis">bhawkeslewis</who>
    <bug_when>2011-12-08 08:03:31 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; You obviously misunderstand, this issue has nothing to do with AT, your &apos;best
&gt; practice&apos; is based on a fiction that the title attribute content is available
&gt; to all users via the browser, it is most evidently not.

It&apos;s based on potential future implementations not today&apos;s implementations.

An HTML WG decision discussed, and dismissed, the accessibility problems with @title - taking the line that user agents could provide better access to @title in the future:

http://lists.w3.org/Archives/Public/public-html/2011Apr/0451.html

For now, the examples in the spec are in line with that decision.

Challenging the specification for @title should be a precursor for challenging particular examples that use @title.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61227</commentid>
    <comment_count>4</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2011-12-08 10:17:30 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; You obviously misunderstand, this issue has nothing to do with AT, your &apos;best
&gt; &gt; practice&apos; is based on a fiction that the title attribute content is available
&gt; &gt; to all users via the browser, it is most evidently not.
&gt; 
&gt; It&apos;s based on potential future implementations not today&apos;s implementations.
&gt; 
&gt; An HTML WG decision discussed, and dismissed, the accessibility problems with
&gt; @title - taking the line that user agents could provide better access to @title
&gt; in the future:
&gt; 
&gt; http://lists.w3.org/Archives/Public/public-html/2011Apr/0451.html
&gt; 
&gt; For now, the examples in the spec are in line with that decision.
&gt; 
&gt; Challenging the specification for @title should be a precursor for challenging
&gt; particular examples that use @title.

&gt;&gt; It&apos;s based on potential future implementations not today&apos;s implementations.

Same could be said for other failed features , promoting their use when no commitment to implement has been provided by the browser vendors is putting theoritcal purity over authors over users.

The title attribute is not a new feature, its use in this case is not a new use.

That is why I have specified a normative willful violation of HTML5 in the the alt text specification [http://dev.w3.org/html5/alt-techniques/#secm7}

The WG ruled on whether the title attribute is conforming when alt is absent, this is not the case under discussion.

FYI
I fully expect that decision to be re-opened soon and have some expectation it will be overturned as it bad for accessibility.
here is the re-open request change proposal: http://www.w3.org/html/wg/wiki/ChangeProposals/notitlev2

I look forwrad to your and like minded peoples counter proposal with spirited defence of the status quo.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61228</commentid>
    <comment_count>5</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2011-12-08 10:22:19 +0000</bug_when>
    <thetext>changing back to wontfix as I don&apos;t think I provided any information not available to the editor.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61229</commentid>
    <comment_count>6</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2011-12-08 10:27:42 +0000</bug_when>
    <thetext>rasied as Issue 190 https://www.w3.org/html/wg/tracker/issues/190</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61482</commentid>
    <comment_count>7</comment_count>
    <who name="Marco Kotrotsos">marco</who>
    <bug_when>2011-12-13 08:19:32 +0000</bug_when>
    <thetext>Relevant discussion aside- To help with the discussion I am submitting a better code example- based on the one already written at 4.5.11 &quot;The figure element&quot;:  http://dev.w3.org/html5/spec/the-figure-element.html#the-figure-element 

--- code ---

&lt;figure role=&quot;group&quot;&gt;
	&lt;figcaption&gt;The castle through the ages: 1423, 1858, and 1999 respectively.&lt;/figcaption&gt;

	&lt;figure role=&quot;group&quot;&gt;
		&lt;img src=&quot;castle-etching.jpg&quot; alt=&quot;The castle has one tower, and a tall wall around it.&quot;&gt;
		&lt;figcaption&gt;Etching. Anonymous, ca. 1423.&lt;/figcaption&gt;
	&lt;/figure&gt;

	&lt;figure role=&quot;group&quot;&gt;
		&lt;img src=&quot;castle-oil.jpg&quot; alt=&quot;The castle now has two towers and two walls.&quot;&gt;
		&lt;figcaption&gt;Oil-based paint on canvas. Maria Towle, 1858.&lt;/figcaption&gt;
	&lt;/figure&gt;

	&lt;figure role=&quot;group&quot;&gt;
		&lt;img src=&quot;castle-film.jpg&quot; alt=&quot;The castle lies in ruins, the original tower all that remains in one piece.&quot;&gt;
		&lt;figcaption&gt;Film photograph. Peter Jankle, 1999.&lt;/figcaption&gt;
	&lt;/figure&gt; 
&lt;/figure&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66099</commentid>
    <comment_count>8</comment_count>
    <who name="Sam Ruby">rubys</who>
    <bug_when>2012-03-27 02:38:34 +0000</bug_when>
    <thetext>WG Decision: 

  http://lists.w3.org/Archives/Public/public-html/2012Mar/0731.html

Change Proposal: 

  http://www.w3.org/html/wg/wiki/ChangeProposals/notitle_captions</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66881</commentid>
    <comment_count>9</comment_count>
    <who name="Sam Ruby">rubys</who>
    <bug_when>2012-04-20 02:55:49 +0000</bug_when>
    <thetext>http://html5.org/tools/web-apps-tracker?from=7055&amp;to=7056</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>