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.
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.Visit Stack Exchange
Webmasters Stack Exchange is a question and answer site for 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.