W3C

Edit comment LC-446 for Mobile Web Best Practices Working Group

Quick access to

Previous: LC-445 Next: LC-449

Comment LC-446
:
Commenter: Ian B. Jacobs <ij@w3.org>

or
Resolution status:

5.4.9 Style sheets. The first two practices are:

"Use style sheets to control layout and presentation,
unless the device is known not to support them."

"Organize documents so that they may be read without style
sheets."

If I read these practices carefully, I think they probably
don't conflict. But I think some readers might read these too
quickly as "Use style sheets" and then "Don't use style
sheets." For instance, suppose I want to achieve a particular
layout. The right thing to do is to use style sheets (practice
1) but if I use a feature in a particular way so that turning
the feature off would cause the content to become unreadable
(practice 2), then I probably should not use the feature. But
then have I violated practice 1 by not using it? I can't quite
put my finger on it, but I think there is some dependency
between the practices that needs to be made more explicit. For
instance, I could read them as:

Use style sheets to control layout and presentation

(1) unless the device is known not to support them,

AND

(2) do so in a manner such that when turned off,
the content remains readable.

I wonder if this is an improvement:

"Use style sheets to control layout and presentation,
unless the device is known not to support them."

"When using style sheets to control layout and presentation,
organize content so that if the style sheets are turned off
or not supported, the content may still be read."

It is probably too long. Nonetheless, I think a slight
clarification would help avoid confusion.
(space separated ids)
(Please make sure the resolution is adapted for public consumption)


Developed and maintained by Dominique Hazaël-Massieux (dom@w3.org).
$Id: 446.html,v 1.1 2017/08/11 06:43:10 dom Exp $
Please send bug reports and request for enhancements to w3t-sys.org