W3C home > Mailing lists > Public > www-validator@w3.org > September 2012

Re: HREF attribute on A and AREA elements is not required

From: Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>
Date: Tue, 25 Sep 2012 10:32:29 +0100
Message-ID: <50617A2D.1040906@Rhul.Ac.Uk>
To: ian_bruce@fastmail.net
CC: www-validator@w3.org


ian_bruce@fastmail.net wrote:
> On Tue, 25 Sep 2012 07:27:39 +0100
> Philip TAYLOR <P.Taylor@Rhul.Ac.Uk> wrote:
>
>> I have a feeling that something like this has come up previously. Do
>> you (for example) have an "alt" attribute associate with the <area> ?
>>
>>      If the area element has no href attribute, then the area
>>      represented by the element cannot be selected, and the alt
>>      attribute must be omitted.
>
> I did, and removing it fixed the problem, as suggested by that quote.
> (From where?)

 From the link you cited :

> http://dev.w3.org/html5/spec-author-view/links.html#attr-hyperlink-href

up one level to the Table of Contents :

> http://dev.w3.org/html5/spec-author-view/Overview.html#contents

down to the <area> element :

> http://dev.w3.org/html5/spec-author-view/the-area-element.html#the-area-element

and then down to the "alt" attribute :

> http://dev.w3.org/html5/spec-author-view/the-area-element.html#attr-area-alt


Philip Taylor
Received on Tuesday, 25 September 2012 09:34:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 25 September 2012 09:34:50 GMT