You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Content model:
Transparent, but there must be no interactive content descendant, a element descendant, or descendant with the tabindex attribute specified.
And in the example:
The a element can be wrapped around entire paragraphs, lists, tables, and so forth, even entire sections, so long as there is no interactive content within (e.g., buttons or other links).
Hi—the next version of HTMLProofer won't have HTML checking at all anymore. I am going to close this issue out, as I'm just one person and can't maintain both the 3.x and 4.x features. ✌️
A button inside an anchor, doesn't make much sense and throws an error in w3's validator
https://validator.w3.org/nu/#textarea
Error: The element button must not appear as a descendant of the a element.
Would be nice if html-proofer would catch and error too.
minimal example
The text was updated successfully, but these errors were encountered: