W3C home > Mailing lists > Public > public-html@w3.org > May 2007

@role inheritance (nested tags) behavior, and a RFP

From: Charles Ying <charles.ying@gmail.com>
Date: Wed, 16 May 2007 08:46:18 -0700
Message-ID: <3db207a40705160846g3f20e5a8h97b257ac0c5f64fb@mail.gmail.com>
To: "HTML Working Group" <public-html@w3.org>


For those advocating a role= attribute (@role if you prefer), can you
describe the behavior for inherited / nested tags? E.g., what does
this mean?

<p role="copyright">
    Copyright &copy; 2007
    <a href="http://www.pixverse.com/">PixVerse, Inc.</a>,
    All Rights Reserved.

If it means what I think it means,

   * It complicates a UA's ability to detect semantic content (it'll
have to duplicate some CSS-like mechanism to properly follow this
content.) Feedback from implementers is needed.

   * This would advocate leveraging class= instead, since the nesting
and inheritance mechanisms are already in place and authors would
already be educated on class= 's behavior.

I would also like to request that role= advocates draft a proposal to
be available for reference and discussion.

Received on Wednesday, 16 May 2007 15:46:44 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:21 UTC