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

Re: 'role' should be property

From: Dannii <curiousdannii@gmail.com>
Date: Sun, 27 May 2007 18:38:17 +1000
Message-ID: <af3e73120705270138k5e3881den9f8452e2fe721906@mail.gmail.com>
To: "public-html@w3.org WG" <public-html@w3.org>
A <roles> element or a <link rel="rolesheet"> seems to me to be a better
idea. It would allow you to specify the default roles of various elements
and collections of elements, rather than repeating that information a
hundred times or more (depending on your page it could be this many). And
you could use any class or ID to specify them, removing any issues with
defined class names. An individual element's role attribute could be used to
override the default roles.

People have said that having external rolesheets is a bad idea, but isn't
this what we already have, except that instead of having them on your site,
they're internal to the user-agent  and based of the HTML spec? User-agents
will already have some sort of system to understand the semantics of a page,
they could then augment that on a per-page basis based on the rolesheet,
rather than based on individual elements' role attributes.
Received on Sunday, 27 May 2007 08:38:20 UTC

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