Create new page | Set page location : Heading semantics used inappropriately

XMLWordPrintable

    Issue Summary

    On the "Create page | Set page location" page, the "Help" link in the "Set Page Location" modal dialog use heading level 2 inappropriately.

    Note: Similar issues were found with the "Help" links on the "Create page | Labels", "Create page | Insert files and images", and "Create page | Insert link" pages.

    Steps to Reproduce

    1. Navigate onto the above mentioned page.
    2. Navigate onto the "Location" button and activate it.
    3. Navigate onto the mentioned instance and inspect its code.
    4. Observe that the mentioned instance is not titling any content.
    5. Observe that the heading semantics has been used inappropriately.

    Screenshot

    Actual Results

    The "Help" link is inappropriately included within the <h2> element. However, it does not title or categorise any content. As a result, users of a screen reader will not be able to understand the page's content structure.

    Expected Results

    Elements that do not title or categorise any content should not use heading tags. Use CSS to style the content if required. Do not use heading tags, such as <h1>, <h2>, and so on, unless the elements title or categorise other content. In this scenario, move the <a> element out of the <h2> element in the DOM.

    Code Snippet

    <h2>Set page location</h2>
    <a href="...">Help</a> 

    Workaround

    Currently there is no known workaround for this behavior. A workaround will be added here when available

    Environment

    MacBook Pro (16-inch, 2021)
    macOS Monterey Version 12.4
    Chrome - Version 103.0.5060.134 (Official Build) (arm64)
    Firefox- Version 93.0 (32-bit)
    Safari- Version 15.5 (17613.2.7.1.8)
    JAWS- Version 2023
    NVDA- Version 2023.3
    Voiceover - Version Latest

      1. Edit - sample page - admin - Confluence - Google Chrome 2024-10-21 18-15-54.mp4
        5.82 MB
        Cynthia Singh
      2. Screenshot 2023-08-17 at 3.34.57 PM.png
        594 kB
        Nayan Kamble
      3. Screenshot 2023-08-17 at 3.36.08 PM.png
        574 kB
        Nayan Kamble
      4. Screenshot 2023-08-17 at 3.37.19 PM.png
        603 kB
        Nayan Kamble
      5. Screenshot 2023-08-18 at 12.04.33 PM.png
        504 kB
        Rogerpinto Marialouis

          Assignee:
          Unassigned
          Reporter:
          Cynthia Singh
          Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

            Created:
            Updated: