HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
6895[Authors] [Conformance Checkers] Tweak hidden='''s definition a bit to be more consistent with likely usage scenarios.2012-01-13 22:11
@@ -82355,24 +82355,26 @@ interface <dfn>NavigatorStorageUtils</dfn> {
 
   <h2 id="editing"><dfn>User interaction</dfn></h2>
 
 
   <h3>The <dfn title="attr-hidden"><code>hidden</code></dfn> attribute</h3>
 
   <p>All <span>HTML elements</span> may have the <code
   title="attr-hidden">hidden</code> content attribute set. The <code
   title="attr-hidden">hidden</code> attribute is a <span>boolean
   attribute</span>. When specified on an element, it indicates that
-  the element is not yet, or is no longer, relevant. <span
-  class="impl">User agents should not render elements that have the
-  <code title="attr-hidden">hidden</code> attribute
-  specified.</span></p>
+  the element is not yet, or is no longer, directly relevant to the
+  page's current state, or that it is being used to declare content to
+  be reused by other parts of the page as opposed to being directly
+  accessed by the user. <span class="impl">User agents should not
+  render elements that have the <code
+  title="attr-hidden">hidden</code> attribute specified.</span></p>
 
   <div class="example">
 
    <p>In the following skeletal example, the attribute is used to hide
    the Web game's main screen until the user logs in:</p>
 
    <pre>  &lt;h1>The Example Game&lt;/h1>
   &lt;section id="login">
    &lt;h2>Login&lt;/h2>
    &lt;form>
@@ -82401,39 +82403,53 @@ interface <dfn>NavigatorStorageUtils</dfn> {
   presentation &mdash; one could equally well just show all the form
   controls in one big page with a scrollbar. It is similarly incorrect
   to use this attribute to hide content just from one presentation
   &mdash; if something is marked <code
   title="attr-hidden">hidden</code>, it is hidden from all
   presentations, including, for instance, screen readers.</p>
 
   <!-- for example, "<a hidden href=#content>Skip to content</a>" would be inappropriate. -->
   <!-- (but only add that example if you first add some more good valid examples -->
 
-  <p>Elements that are not <code title="attr-hidden">hidden</code>
-  should not link to or refer to elements that are <code
-  title="attr-hidden">hidden</code>.</p>
+  <p>Elements that are not themselves <code
+  title="attr-hidden">hidden</code> must not <span>hyperlink</span> to
+  elements that are <code title="attr-hidden">hidden</code>. The <code
+  title="">for</code> attributes of <code>label</code> and
+  <code>output</code> elements that are not themselves <code
+  title="attr-hidden">hidden</code> must similarly not refer to
+  elements that are <code title="attr-hidden">hidden</code>. In both
+  cases, such references would cause user confusion.</p>
+
+  <p>Elements and scripts may, however, refer to elements that are
+  <code title="attr-hidden">hidden</code> in other contexts.</p>
 
   <div class="example">
 
    <p>For example, it would be incorrect to use the <code
    title="attr-hyperlink-href">href</code> attribute to link to a
    section marked with the <code title="attr-hidden">hidden</code>
    attribute. If the content is not applicable or relevant, then there
    is no reason to link to it.</p>
 
-   <p>It would similarly be incorrect to use the ARIA <code
+   <p>It would be fine, however, to use the ARIA <code
    title="attr-aria-describedby">aria-describedby</code> attribute to
    refer to descriptions that are themselves <code
-   title="attr-hidden">hidden</code>. Hiding a section means that it
-   is not applicable or relevant to anyone at the current time, so
-   clearly it cannot be a valid description of content the user can
-   interact with.</p>
+   title="attr-hidden">hidden</code>. While hiding the descriptions
+   implies that they are not useful alone, they could be written in
+   such a way that they are useful in the specific context of being
+   referenced from the images that they describe.</p>
+
+   <p>Similarly, a <code>canvas</code> element with the <code
+   title="attr-hidden">hidden</code> attribute could be used by a
+   scripted graphics engine as an off-screen buffer, and a form
+   control could refer to a hidden <code>form</code> element using its
+   <code title="attr-fae-form">form</code> attribute.</p>
 
   </div>
 
   <p>Elements in a section hidden by the <code
   title="attr-hidden">hidden</code> attribute are still active,
   e.g. scripts and form controls in such sections still execute
   and submit respectively. Only their presentation to the user
   changes.</p>
 
   <div class="impl">

|