Okay, I’ve been curious about this for a while, and I avoid doing it because I always thought it was bad practice.
Is it okay to wrap an element, for example a <div> and its contents, with an <a> tag? Is this valid? Are there any cross browser issues, including mobile?
On MDN it states:
Permitted content: Transparent, containing either flow content or phrasing content.
I guess that answers my question, but it still seems odd when you have lots of elements wrapped in one <a> tag.