<?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>18574</bug_id>
          
          <creation_ts>2012-08-15 11:58:39 +0000</creation_ts>
          <short_desc>@hidden should have a weak mapping to aria-hidden=true</short_desc>
          <delta_ts>2014-01-16 15:11:38 +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>http://dev.w3.org/html5/spec/wai-aria.html#table-aria-strong</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>a11y, aria, CR</keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>19277</dependson>
          <blocked>23371</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Leif Halvard Silli">xn--mlform-iua</reporter>
          <assigned_to name="steve faulkner">faulkner.steve</assigned_to>
          <cc>devarshipant</cc>
    
    <cc>eoconnor</cc>
    
    <cc>faulkner.steve</cc>
    
    <cc>hans.hillen</cc>
    
    <cc>ian</cc>
    
    <cc>jcraig</cc>
    
    <cc>john</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-a11y</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>robin</cc>
    
    <cc>schwer</cc>
    
    <cc>surkov.alexander</cc>
    
    <cc>travil</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>72197</commentid>
    <comment_count>0</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2012-08-15 11:58:39 +0000</bug_when>
    <thetext>Disambiguate @hidden from @aria-hidden=true. @hidden is currently  listed in HTML5&apos;s strong ARIA mappings table. It should rather be in the ha weak mapping table.[0]

The strong mapping table currently says about the hidden attribute that: [1] 

1. &quot;The Strong native semantics and default implied ARIA semantics&quot;
2.  for an &quot;Element with a hidden attribute&quot;
3.  is &quot;The aria-hidden state set to &quot;true&quot;.

Similarly, the table says about the empty alt attribute:

1. &quot;The Strong native semantics and default implied ARIA semantics&quot;
2. for an &quot;img element whose alt attribute&apos;s value is empty&quot;
2. is &quot;presentation role&quot;

Now: We know that the empty alt attribute causes screenreaders to interpret the image as presentational in a very literal sense. [2]  Hence, one could expect that @hidden as well would be mapped to its correspoding aria attribute quite literally. 

However, as of yet, no such correspondence is documented - @hidden does seemingly not map whether to A11Y APIs or to WAI-ARIA. [3]  And if @hidden had been a direct synonym for @aria-hidden=true in the same way that the empty alt=&quot;&quot; is a synonym for role=presentation, then one would have expected the following paragraph to be  _hidden_ from AT:

   &lt;p hidden style=&quot;display:block&quot;&gt;Lorem ipsum

However, no ATs hide the above paragraph from users. Because it turns out that there are currently no difference, to ATs, between @style=&quot;display:none&quot; and @hidden.

In addition, the issue of ISSUE 204, is about allowing ATs to &quot;jump around&quot; inside a section that that has been hidden with the @hidden attribute.  So what if that section - or a nested section inside that section - has aria-hidden=true? Would AT then see it? Example:

   &lt;p hidden style=&quot;display:block&quot; aria-hidden=&quot;true&quot; id=D &gt;Lorem ipsum

Currently, at least, thy would not see the above. And for that reason, one should assume that if @aria-describedby=&quot;D&quot; pointed to the above example, then ATs would not perceive it as a &quot;rich&quot; description - but would rather read it as a &quot;flattened&quot; description. (This _could_ be a feature in itself, e.g. if the author wants to make sure that the section is flattened to all AT suers.)

The weak ARIA mapping table is for  semantivs that can be overridden: &quot;Some HTML elements have native semantics that can be overridden&quot;. And I think that current status - and the outcome of ISSUE-204, indicates that the weeak table is more correct.

[0] http://dev.w3.org/html5/spec/wai-aria.html#table-aria-weak
[1] http://dev.w3.org/html5/spec/wai-aria.html#table-aria-strong
[2] http://dvcs.w3.org/hg/html-api-map/raw-file/default/Overview.html#el-59
[3] http://dvcs.w3.org/hg/html-api-map/raw-file/default/Overview.html#att-22</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76531</commentid>
    <comment_count>1</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2012-10-17 23:01:06 +0000</bug_when>
    <thetext>Blocked on bug 19277.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96311</commentid>
    <comment_count>2</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2013-11-14 08:38:27 +0000</bug_when>
    <thetext>Agree this should be in the Weak table. Currently WebKit is the only UA that correctly implements, which is unfortunately and explicitly disallowed by keeping this in the Strong table.

&lt;div hidden aria-hidden=&quot;false&quot;&gt;
  &lt;p&gt;exposed to accessibility API, but not rendered visually&lt;/p&gt;
&lt;/div&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96330</commentid>
    <comment_count>3</comment_count>
    <who name="github bugzilla bot">sideshowbarker+gitzilla</who>
    <bug_when>2013-11-14 09:52:25 +0000</bug_when>
    <thetext>Commit pushed to master at https://github.com/w3c/html

https://github.com/w3c/html/commit/450185e45fde0f23d00b5d97ad500d5fdc50b76b
fix hidden/aria-hidden

see bug 18574</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96331</commentid>
    <comment_count>4</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2013-11-14 09:56:45 +0000</bug_when>
    <thetext>I have made a change to the spec:

removed hidden from strong native semantics table (should have been removed previously anyway so was a bug.

Changed hidden in weak mapping table to allow both aria-hidden true/false to be set by an author on an element with a hidden attribute. if this resolves the issue please indicate and I will close bug

https://github.com/w3c/html/commit/450185e45fde0f23d00b5d97ad500d5fdc50b76b

Note: this change will not appear in spec until build script has been fixed (currently stuck on editors draft 7 november)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96357</commentid>
    <comment_count>5</comment_count>
    <who name="Rich Schwerdtfeger">schwer</who>
    <bug_when>2013-11-15 14:48:21 +0000</bug_when>
    <thetext>Good. Thanks Steve.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96359</commentid>
    <comment_count>6</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2013-11-15 16:09:58 +0000</bug_when>
    <thetext>Thanks Steve</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97177</commentid>
    <comment_count>7</comment_count>
    <who name="alexander surkov">surkov.alexander</who>
    <bug_when>2013-12-05 15:59:49 +0000</bug_when>
    <thetext>aria-hidden=&quot;false&quot; on @hidden element got some discussion at Mozilla bug https://bugzilla.mozilla.org/show_bug.cgi?id=945194. I&apos;ve got a feeling the proposed feature is not clear enough for implementation, agreed and moreover it contradicts to ARIA implementation guide. I tried to summarize all it here https://bugzilla.mozilla.org/show_bug.cgi?id=945194#c52.

I would be happier if the added wording will be backed out, at least until the dust settles down and the feature gets agreed, perhaps implemented and approbated by interested parties (WebKit?). Otherwise the spec puts disputable features into the law and that makes me worry.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97181</commentid>
    <comment_count>8</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2013-12-05 16:18:47 +0000</bug_when>
    <thetext>(In reply to alexander surkov from comment #7)
&gt; aria-hidden=&quot;false&quot; on @hidden element got some discussion at Mozilla bug
&gt; https://bugzilla.mozilla.org/show_bug.cgi?id=945194. I&apos;ve got a feeling the
&gt; proposed feature is not clear enough for implementation, agreed and moreover
&gt; it contradicts to ARIA implementation guide. I tried to summarize all it
&gt; here https://bugzilla.mozilla.org/show_bug.cgi?id=945194#c52.
&gt; 
&gt; I would be happier if the added wording will be backed out, at least until
&gt; the dust settles down and the feature gets agreed, perhaps implemented and
&gt; approbated by interested parties (WebKit?). Otherwise the spec puts
&gt; disputable features into the law and that makes me worry.

thanks Alex, one note, it&apos;s currently only in the spec for review (such as what has been occurring) and not &apos;into law&apos;. the bug has not yet been resolved. If the bug gets resolved and any WG member feels it needs to be revisited, they can escalate the issue to the full HTML Working Group,For more details, see this document:
http://dev.w3.org/html5/decision-policy/decision-policy.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97183</commentid>
    <comment_count>9</comment_count>
    <who name="alexander surkov">surkov.alexander</who>
    <bug_when>2013-12-05 16:26:14 +0000</bug_when>
    <thetext>Ok, good to know, thanks, Steve.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98329</commentid>
    <comment_count>10</comment_count>
    <who name="alexander surkov">surkov.alexander</who>
    <bug_when>2014-01-13 16:49:52 +0000</bug_when>
    <thetext>(some summary I need to make after w3c call) so I&apos;m more or less ok with aria-hidden=&quot;false&quot; as an approach to create an alternative content to assistive technology users. I don&apos;t really have strong opinion on this particular bug (i.e. whether aria-hidden=&quot;false&quot; should override HTML5 @hidden) but I can live with any outcome, I would delegate the issue to people who knows HTML5 presumably better than me. In that light it would be great to have WHATWG aboard, in particular, because Ian expressed a different opinion (https://bugzilla.mozilla.org/show_bug.cgi?id=945194#c46).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98332</commentid>
    <comment_count>11</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2014-01-13 17:09:24 +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: Accepted
Change Description: see Comment 4
Rationale: agreed with initial comment and subsequent discussion on ARIA call http://lists.w3.org/Archives/Public/public-pfwg/2014Jan/0008.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98333</commentid>
    <comment_count>12</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2014-01-13 17:13:09 +0000</bug_when>
    <thetext>

(In reply to alexander surkov from comment #10)
&gt; (some summary I need to make after w3c call) so I&apos;m more or less ok with
&gt; aria-hidden=&quot;false&quot; as an approach to create an alternative content to
&gt; assistive technology users. I don&apos;t really have strong opinion on this
&gt; particular bug (i.e. whether aria-hidden=&quot;false&quot; should override HTML5
&gt; @hidden) but I can live with any outcome, I would delegate the issue to
&gt; people who knows HTML5 presumably better than me. In that light it would be
&gt; great to have WHATWG aboard, in particular, because Ian expressed a
&gt; different opinion (https://bugzilla.mozilla.org/show_bug.cgi?id=945194#c46).

Hi Alex, agree it would be good to have full agreement. Note as per Comment 11

&quot;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&quot;

Like you, Ian is a member of the HTML WG and is free to re-open with new information or raise an issue in the WG.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98611</commentid>
    <comment_count>13</comment_count>
    <who name="github bugzilla bot">sideshowbarker+gitzilla</who>
    <bug_when>2014-01-16 15:11:38 +0000</bug_when>
    <thetext>Commit pushed to CR at https://github.com/w3c/html

https://github.com/w3c/html/commit/450185e45fde0f23d00b5d97ad500d5fdc50b76b
fix hidden/aria-hidden</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>