W3C home > Mailing lists > Public > www-svg@w3.org > May 2011

Re: data-* : Custom Data Attributes

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 5 May 2011 21:13:18 +0000 (UTC)
To: Doug Schepers <schepers@w3.org>
cc: "Frost, Jon A." <frostjo@missouri.edu>, "www-svg@w3.org" <www-svg@w3.org>
Message-ID: <Pine.LNX.4.64.1105052111570.25791@ps20323.dreamhostps.com>
On Thu, 5 May 2011, Doug Schepers wrote:
> > > 
> > >  while @data- is just a way of adding metadata
> > 
> > data-*="" is just a place for storing declarative data for scripts, 
> > it's not really for metadata.
> 
> I'd argue that data-*="" is (or can be) still a kind of metadata, but I 
> agree that depends on how it's used in practice.

Sure. I just meant that it's not for publicly usable metadata. For 
example, you wouldn't put something into a data-*="" attribute that you'd 
expect a search engine, Web browser, or data mining tool to use. It's 
intended just for use by the author's own software (typically JS running 
on the page itself, but possibly also server-side software).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 5 May 2011 21:13:42 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:48 GMT