Is it acceptable practice to hyperlink my headings (
h2 etc.)? For example:
Does this violate usability principles? How about web accessibility/WCAG principles? I could not find a concrete answer to this.
Webmasters Stack Exchange is a question and answer site for pro webmasters. It only takes a minute to sign up.Sign up to join this community
I think it actually makes quite a lot of sense. Here are some cases, were I think this would be usefull:
A Link can be included in any element, so putting it inside a heading is fine. From a usability stand point, it would be weird, to just link part of the heading. If the heading has a link, the whole heading should be a link.