[Bug 24273] Consider allowing the nohref attribute on area elements

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24273

--- Comment #3 from Michael[tm] Smith <mike@w3.org> ---
(In reply to Leif Halvard Silli from comment #0)
> Whenever an <area> element has an @alt attribute but does  not have a @href
> attribute, the validator screams that @href is lacking.

Yeah, that's intentional, because the spec says, "If the area element has no
href attribute... the alt attribute must be omitted."

> Thus, @nohref is needed to signal to the validator that the the curren
> element is not meant to have a href attribute.

No, the fact that the element doesn't have an href attribute signals to the
validator that the element doesn't have an href attribute. No @nohref attribute
is needed.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Sunday, 12 January 2014 17:55:37 UTC