Re: Error messages link to relevant info

On 4 Feb 2019, at 9:20, patrick clancey wrote:
>
> For example, I'm getting this error... "Error: An element with the
> attribute tabindex must not appear as a descendant of the a element."
> But there is no link to the rule of the HTML spec this breaches. I 
> want to
> know exactly what interactive elements are allowed within the A tag, 
> but I
> can't find where information is in the spec, it would be really 
> helpful if
> errors on the validation page linked to the relevant articles.

https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-a-element

says

> Content model:
>
> Transparent, but there must be no interactive content or a element 
> descendants.

Received on Monday, 4 February 2019 13:52:28 UTC