This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 9438 - several issues with the hidden attribute
Summary: several issues with the hidden attribute
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-06 22:24 UTC by steve faulkner
Modified: 2010-10-04 14:29 UTC (History)
5 users (show)

See Also:


Attachments

Description steve faulkner 2010-04-06 22:24:33 UTC
the hidden attribute is listed under the following section heading:

"7 User interaction
This section describes various features that allow authors to enable users to edit documents and parts of documents interactively."

but there is no explanation of what hidden has to do with how to "edit documents and parts of documents interactively"

request either an explanation be provided, the section heading changed to better reflect its content or the hidden attribute text be moved to a more appropriate location.

The following example seems counter intuitive. the usefulnes of the tabbed interface is to sectionalise and hide portions of content from all users, only the selected tab panel is displayed. I have not seen any tabbed interface that allows the display of simultaneous tab panels within a set of tabs. 

"For example, it is incorrect to use hidden to hide panels in a tabbed dialog, because the tabbed interface is merely a kind of overflow presentation  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  if something is marked hidden, it is hidden from all presentations, including, for instance, screen readers."


Request to make it clearer when the hidden attribute should be used by providing better examples; for example the display of a "loading" image is only relevant when there is something being loaded:
Comment 1 Maciej Stachowiak 2010-04-08 08:19:27 UTC
There's other features in that section that are not obviously related to editing:

- click() method
- scrollIntoView() method
- accesskey

The following is at best tangentially related to editing:

- tabindex
- focus stuff
- drag & drop

I would guess the intro line once applied to a more specific section, and needs to be updated.
Comment 2 Ian 'Hixie' Hickson 2010-04-13 01:42:31 UTC
EDITOR'S RESPONSE: This is an Editor'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 diff given below
Rationale: Oops. That line was supposed to be removed long ago.