Less widely recognized
This guidance is not a widely-held best practice for writing for AI, but it is a best practice we've adopted in our own documentation.
Relative references like "see above," "see below," or "in the next section" don't have a lot of meaning on their own, and they lose all meaning for most AI tools. If you do have a good reason to make a reference to something else on the same page, add links to same-page anchors with descriptive link text.
To streamline this process, turn on the Header anchors setting in Customize > Website, which will generate anchors automatically for headers. When you view the live article, select the link icon next to the header to get the header link. This can be a great way for your support staff or coworkers to quickly direct people to the correct session, but it also streamlines adding same-page anchor links!
Refer to Add anchors within articles for more information on creating anchor hyperlinks.
Tips for using same-page anchor links
Follow these tips for using same-page anchor links:
- Use a same-page anchor link in any case where you want to say something like "see below," "see above," "refer to xx section."
- Insert a hyperlink to the anchor only, for example
#tips-for-using-same-page-anchor-links. - Make sure the hyperlink doesn't open in a new page.
- The link's Title displays on-hover. Use a title that helps readers understand that this link will navigate them up or down the page rather than opening a new resource, like "Jump to xx section."
- If you have separate steps in a process as separate subheadings, you may want to include same-page anchor links to encourage readers to the next step or to reference the previous one.
📈 RAG benefit of same-page anchors
Replace meaningless above/below references with explicit, descriptive hyperlinks. The explicit hyperlink helps AI find the chunk with the relevant info rather than losing the reference entirely.
🌲Accessibility tree benefit of a strong homepage title
Replace meaningless above/below references with explicit, descriptive hyperlinks. Links get marked as a separate element in the accessibility tree, which helps create the navigation the tool needs to find the relevant info.