Re: [webcomponents] Custom Elements Spec

On Fri, 4 May 2012, Marat Tanalin | tanalin.com wrote:
> >
> > So what happens in browsers that don't support components? Or in 
> > search engines or other data analysis tools that are trying to extract 
> > the semantics from the page?
> 
> Elements with custom tag-names would have EXACTLY SAME semantic (as for 
> core HTML5 semantics) meaning as a common container (SPAN or DIV) with a 
> class. No more and no less.

If it's purely stylistic, then using <div> and not having semantics is 
fine. Stylistic components should just be invoked from the CSS layer.

Components that are not purely stylistic, e,g, things like form controls
or data (tables or graphical), need to have fallback semantics. Those are 
the ones that appear in the markup.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 4 May 2012 20:25:07 UTC