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

Re: 'role' should be property

From: Patrick H. Lauke <redux@splintered.co.uk>
Date: Tue, 22 May 2007 23:53:50 +0100
Message-ID: <4653747E.5000606@splintered.co.uk>
To: public-html@w3.org

Mark Birbeck wrote:

> One is much more likely to want to say 'the third div is the footer'
> or that 'certain spans are check-boxes', than to have to put @role on
> each element.

I'd posit that it's more likely that an author might want to specify the 
role of any particular piece of content while they're actually authoring 
the content itself, i.e. the HTML. They write the content, then say 
"this is the footer".

> The properties set by CSS rules are available via the DOM anyway, so
> there is nothing to say that CSS must be about styling.

Apart from the fact that CSS stands for Cascading *Style Sheets*

"Cascading Style Sheets (CSS) is a simple mechanism for adding style 
(e.g. fonts, colors, spacing) to Web documents"

Style...not content characteristics (such as role)...

Patrick H. Lauke
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
Co-lead, Web Standards Project (WaSP) Accessibility Task Force
Take it to the streets ... join the WaSP Street Team
Received on Tuesday, 22 May 2007 22:53:54 UTC

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