Problem/Motivation

Anchors appear as elements that do not link to themselves or to on-page links. It would be nice for them to do something, rather than just be links that don't link to anything. Looking around in documentation, anchors often link to themselves so that when you click on them, they are brought into focus. Alternatively, some docs make it so that clicking the link brings you back to the table of contents. I think both are great features, and that it would be pretty sweet to have these options be configurable too. But I think the simplest option is just to make sure that anchors link to themselves automatically. While you can make an element link to itself using the link functionality, I think anchors should just link to themselves anyway.

Steps to reproduce

  • Create an anchor
  • See that it does not effectively link to itself automatically

Proposed resolution

Make sure that anchors link to themselves automatically

Remaining tasks

  • ✅ File an issue
  • ➖ Addition/Change/Update/Fix
  • ➖ Testing to ensure no regression
  • ➖ Automated unit testing coverage
  • ➖ Automated functional testing coverage
  • ➖ UX/UI designer responsibilities
  • ➖ Readability
  • ➖ Accessibility
  • ➖ Performance
  • ➖ Security
  • ➖ Documentation
  • ➖ Code review by maintainers
  • ➖ Full testing and approval
  • ➖ Credit contributors
  • ➖ Review with the product owner
  • ➖ Release notes snippet
  • ❌ Release

Comments

megakeegman created an issue. See original summary.

megakeegman’s picture

Issue summary: View changes