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

Repositories : Current element is not programmatically defined

      Issue Summary

      The link that is visually highlighted as currently relevant in the "left navigation" section does not have a programmatically defined current page state.

      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. Navigate onto the mentioned instances in the left navigation and observe that one of the link is visually highlighted as currently relevant.
      4. Inspect its code.
      5. Observe that the current state is not programmatically defined.

      Screenshot

      Actual Results

      The visually highlighted as currently active link in the "Left navigation" section does not have a programmatically defined current page state. This might mislead or confuse the Screen reader and Voice recognition users.

      Expected Results

      Make sure that the current state is programmatically defined for the currently active link. Use “aria-current”. The possible specific values that “aria-current” accepts are “page”, “step”, “location”, “date”, “time”. As well, “true” and “false” can be used as a catch-all value to determine whether an element is current or not.

      Code snippet

      <a href="..." aria-current="page">Repositories</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 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

            [BSERV-19963] Repositories : Current element is not programmatically defined

            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: