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

View pull request : Custom breadcrumb navigation is not programmatically declared

      Issue Summary

      The custom breadcrumb region is not programmatically defined.

      Steps to Reproduce

      1. Open the home page and activate the "projects" link in the header.
      2. Select any of the projects from the main content area.
      3. Now select any of the repositories from the main content area.
      4. Navigate onto the "Pull request" link in the side navigation and activate it.
      5. Activate any of the links from the "Summary" column in the data table.
      6. Observe the navigation trails.
      7. Inspect the code.
      8. Observe that the Breadcrumb is not programmatically defined.

      Screen Recording

      Screen Recording 2025-03-03 at 8.26.20 AM.mov

      Actual Results

      There is a custom breadcrumb on the page that shows the navigation trail. However, this is not programmatically declared with role and name. As a result users of a screen reader will not be able to understand the page's content structure.

      Expected Results

      Breadcrumb should be declared as a navigation region with an accessible name. The container of the breadcrumb should be a <nav> element and named as "Breadcrumb" using an "aria-label" attribute. As well, identify the currently relevant page in the breadcrumb navigation with aria-current="page".

      Code Snippet

       

      <nav aria-label="Breadcrumb">
        <ul>
          <li><button aria-label="Main, copy branch name">...</button></li>
          ...
          <li><button aria-label="Add-bunster, copy branch name">...</button></li>
          ...
        </ul>
      </nav>
      

      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.3.1
      Chrome - Version 119.0.6045.123 (Official Build) (64-bit)
      Firefox- Version 93.0 (32-bit)
      Safari- Version 17.3.1 (19617.2.4.11.12)
      JAWS- Version 2023
      NVDA- Version 2024.3
      Voiceover - Version Latest

          Form Name

            [BSERV-19938] View pull request : Custom breadcrumb navigation is not programmatically declared

            There are no comments yet on this issue.

              Unassigned Unassigned
              773dd3a38dd5 Cynthia Singh
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated: