Return Receipt
Your Re:[WSG] how important are validation-programs?
document
I feel good when a validation-program could not find any failures,
cause it gives me a secure feeling that at least the basics of standards
are complied.
But how important is the validation with tools like hera or the
w3c-validators realy?
Let's take an example:
After a CSS-validation made by
Hi Soeren,
That will only appear as a warning in the validator anyway, which I assume is
just there as a reminder in case you've forgotten to specify an appropriate
background-color which will allow enough contrast. As you've said though, in
this case it obviously doesn't matter. I would just
As someone else has already said, they are only warnings. However, if
you are pushing standards to clients and they view the results, it is a
good idea to have no warnings or errors. Best way around this I have
found is to use background-color: inherit; and the warning will be removed.
The validator will help resolve and prevent those unexpected results
in your work, such as an element being the wrong colour because it's
inheriting values from somewhere you hadn't anticipated. In that
case, explicitly setting the colour will make sure it's set to the
value you're
Soeren Mordhorst wrote:
In this case my question would be: Why should I define a
background-color, if the background-color
that should be used is already defined in the body-element?
Short answer - because the validator only checks one rule at a time. It
does not remember you had already