[html5] page element?

Mike Schinkel mikeschinkel at gmail.com
Thu Mar 18 21:59:02 PDT 2010


On Thu, Mar 18, 2010 at 7:09 PM, Alastair Campbell <ac at alastc.com> wrote:

> On 18 Mar 2010, at 20:25, Mike Schinkel wrote:
>
> It would be used for the visible portions of a page (vs. the non-visible
> portions that are contained in the body like <script> tags and the CSS
> visibility:hidden and display:none.
>
> If they are hidden, does it matter if they are in the body/page?
>

Yes.  Example: (a multi-page wizard that uses Javascript to move from page
to page):

<style>
page {visibility:hidden;}
page.current-page {visibility:visible;}
</style>
<body>

<page id="1" class="current-page">...</page>
<page id="2">...</page>
<page id="3">...</page>

</body>

 A screen reader would read what's inside this <page> element and typically
> ignore what's outside.
>
> As they do for body.
>

Are you making a counterpoint?  It seems that your point is valid but is not
an argument against <page>, or did I miss something?


-Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/help-whatwg.org/attachments/20100319/a6a95c9c/attachment-0003.htm>


More information about the Help mailing list