Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-19991

Projects : Heading mark-up used unnecessarily

XMLWordPrintable

      Issue Summary

      Heading mark-up is used unnecessarily for the "No projects found" text.

      Steps to Reproduce

      1. Open the home page.
      2. Activate the "Projects" link in the header section.
      3. Navigate to the "Find projects by name" input field in the main content area.
      4. Enter invalid data and navigate to the mentioned heading text.
      5. Inspect the code.
      6. Observe that an heading mark-up is used unnecessarily for the mentioned heading.

      Screenshot

      Actual Results

      The text "No projects found" that becomes available on entering invalid data in the "Find projects by name" input field in the main content area is marked up as a heading unnecessarily. However, it does not constitute as a heading on the page.
      As a result, this will create confusion for screen reader users about the content structure.

      Expected Results

      Screen reader should not identify the text as a heading for their users. Remove the heading mark-up from the mentioned content and code it using the <p> element. If required, use CSS to maintain the presentation of the page.

      Code Example:

      <p class="css-1ueym4y">No projects found</p> 

      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 Sonoma 14.7
      Chrome - Version 131.0.6778.86 (Official Build) (arm64)
      Firefox- Version 134.0 (64-bit) 
      Safari- Version 18.1.1 (20619.2.8.11.12)
      JAWS- Version 2023
      NVDA- Version 2021.2 
      Voiceover - Version Latest

              Unassigned Unassigned
              88a173d72595 Sojal Shende
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: