Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-8032

Use HTML id instead of empty named anchors in headings

XMLWordPrintable

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      We should assign the generated anchor name of a heading to its ID instead of using named anchor elements.

      Current behaviour:

      <h1><a name="Page-aHeading"></a>A Heading</h1>

      Improved behaviour:

      <h1 id="Page-aHeading">A heading</h1>

      This results in cleaner markup and is probably easier for WYSIWYG editors to grok.

      All modern browsers (and quite a few older ones) support id based anchors.

              christopher.owen@atlassian.com Christopher Owen [Atlassian]
              christopher.owen@atlassian.com Christopher Owen [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: