Issue Summary

      The "Create repository" interactive element has an incorrect role as a button instead of a link.

      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 to the mentioned "Create repository" interactive element in the main content area.
      4. Inspect the code.
      5. Observe that the element has an incorrect interactive role as a button instead of a link.

      Screenshot

      Actual Results

      The "Create repository" interactive element in the main content area is incorrectly defined as a button instead of a link.

      As a result, it will cause confusion to the screen reader users or mislead the functionality associated with the mentioned interactive element. 

      Expected Results

      Interactive elements should have appropriate interactive roles.
      In the scenario, it would be semantically correct to code the mentioned interactive element as a link.

      Remove role="button" from the source code of the mentioned "Create repository" link.

       Code Example:

      <a class="aui-button create-repository-link repository-list-link" href="/projects/PROJ/repos?create" ...>Create repository</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.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

            [BSERV-19976] Repositories : Role link defined inappropriately

            There are no comments yet on this issue.

              Unassigned Unassigned
              88a173d72595 Sojal Shende
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated: