-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
9.5.1
-
Severity 3 - Minor
-
Issue Summary
The "Create repository" interactive element has an incorrect role as a button instead of a link.
Steps to Reproduce
- Open the home page and activate the "Projects" link in the header.
- Select any of the projects from the main content area.
- Navigate to the mentioned "Create repository" interactive element in the main content area.
- Inspect the code.
- 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