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

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 UTC