-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
9.5.1
-
Severity 3 - Minor
-
Issue Summary
The textual description "Branch" has been provided to the decorative image unnecessarily.
Steps to Reproduce
- Open the home page and activate the "Project" link in the header.
- Activate “PROJ" project.
- Activate any repository link from the “name” column of the data table, which will direct you to the source page.
- Now activate the Commits link from the left navigation.
- Navigate onto the mentioned button present in main content area.
- Inspect the code.
- Verify that textual description is provided unnecessarily.
Screenshot
Actual Results
Decorative image has been given unnecessary textual description such as "Branch" to the "Source branch" button which do not convey any additional or important information to screen reader users.
Expected Results
Ensure that decorative images are hidden from screen readers. Apply the following changes:
- Remove the textual description in the form of aria-label from the source code.
- Hide the image using aria-hidden="true" attribute.
Code Snippet
<button type="button" id="repository-layout-revision-selector" data-aui-trigger="" aria-controls="inline-dialog-repository-layout-revision-selector-dialog" class="aui-button searchable-selector-trigger revision-reference-selector-trigger" resolved="" aria-expanded="false" aria-haspopup="true" aria-activedescendant=""><span class="aui-icon aui-icon-small aui-iconfont-branch" role="img" aria-hidden="true"></span><span ...>main</span></button>
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available.
Environment
MacBook Pro (16-inch, 2022)
macOs Sonoma vERSION 14.7
Chrome - Version 131.0.6778.265 (Official Build) (arm64)
Firefox- Version 92.0 (64-bit)
Safari-Version 18.2 (19620.1.16.111.6, 19620)
JAWS- Version 2023
NVDA- Version 2021.2
Voiceover - Version Latest