-
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.
- Activate the "Projects" link in the header section.
- Navigate to the mentioned "Create project" 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 project" 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 project" link.
Code Example:
<a class="aui-button create-project-link" href="/projects?create" resolved=""...>Create project</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