Re: ISSUE-95 hidden - Chairs Solicit Proposals

Thanks Tab for clarifying on IRC. It helped.
Many of my questions seem now out of context. 

Le 17 janv. 2010 à 13:42, Tab Atkins Jr. a écrit :
> No it won't.  @hidden doesn't alter the DOM.  You can still walk down
> into hidden content using ordinary DOM methods.  It's purely an
> accessibility thing.  Visual UAs will hide @hidden content,
> screen-readers will neglect to read it, etc.  It allows an author to
> take some convenient shortcuts in building the page without degrading
> the experience of users with ATs that the author didn't anticipate,
> and thus didn't hide the shortcuts from.

Understood. It seems indeed that hidden may not be the best term. Maybe something like camouflage, conceal. "hidden" has also the issue of a double "d" which is likely to be mistyped by non native English speakers.


    7.1 The hidden attribute
    
     All HTML elements may have the hidden content attribute
    set. The hidden attribute is a boolean attribute. When
    specified on an element, it indicates that the element
    is not yet, or is no longer, relevant. User agents
    should not render elements that have the hidden
    attribute specified.

Proposal:
All HTML elements may have the [conceal] content attribute set. The hidden attribute is a boolean attribute. When specified on an element, user agents should not render the element, containing the [conceal] attribute and all its descendant children. It is entirely possible to change this state by using scripting. The [conceal] attribute doesn't modify the DOM.

    
     In the following skeletal example, the attribute is
    used to hide the Web game's main screen until the user
    logs in:
    
     […✂ example ✂…]
    
     The hidden attribute must not be used to hide content
    that could legitimately be shown in another
    presentation. 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 —
    showing all the form controls in one big page with a
    scrollbar would be equivalent, and no less correct.
    
Proposal:
The [conceal] attribute must not be used to target certain types of user agents by masking content. All class of users with different types of user agents have access to the same content.
    
     Elements in a section hidden by the hidden 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.
    
     The hidden IDL attribute must reflect the content
    attribute of the same name.




-- 
Karl Dubost
Montréal, QC, Canada
http://www.la-grange.net/karl/

Received on Sunday, 17 January 2010 19:14:42 UTC