E-mail List Archives

Re: Interesting cause: http://contrastrebellion.com

for

From: Jukka K. Korpela
Date: Jul 29, 2011 1:00AM


29.07.2011 02:06, <EMAIL REMOVED> wrote:

> @YUCCA - I'd like a little more explanation from you on the following
> comment:
>
> Inline styles have their problems, but how would it make a difference to
> set, say, some properties for a single paragraph using <p style="...">
> versus using <p id="foo"> and setting the styles for #foo in a style
> element or in an external stylesheet?
>
> Did you mean what difference would it make from an accessibility
> perspective?

Exactly. The differences from other perspectives have at most a
potential indirect influence on accessibility. If code is easier to
maintain, authors may have more time to devote to accessibility
considerations. But an author who wants to style an individual element a
bit, for some special reason, may well find it easier and more
maintainable to just slap in a style='...' attribute, instead of
inventing a class or id attribute and finding a place in a style sheet
to enter a CSS rule.

--
Yucca, http://www.cs.tut.fi/~jkorpela/