-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
9.5.1
-
Severity 3 - Minor
-
Issue Summary
The "Copy commit hash" buttons do not receive keyboard focus.
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 to the data table present in main content.
- Using tab key, navigate through the mentioned buttons present in "Commit" column.
- Observe that the buttons are not keyboard focusable.
Screen Recording
PROJ _ awesome-go - Bitbucket Server - Google Chrome 2025-03-05 14-16-23.mp4
Actual Results
The "Copy commit hash" buttons under the "Commit" column of the data table present in the main content area are not keyboard focusable. It has been removed from focus order by using the tabindex="-1" on the <button> elements.
As a result, the keyboard and screen reader users might not be able to access the functionality of the button.
Expected Results
Make sure that the buttons are keyboard focusable and operable. In this case, remove tabindex="-1" from the <button> elements.
Additionally, update the script of buttons to make sure that it is focusable and operable.
Code snippet
<button class="aui-button aui-button-compact commit-hash-icon aui-button-subtle " autocomplete="off" role="button" aria-label="Copy commit hash" resolved="" aria-describedby="aui-tooltip"><span ...></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, 2021)
macOS: Sonoma 14.7
Chrome - Version 119.0.6045.105 (Official Build) (64-bit)
Firefox- Version 92.0 (64-bit)
Safari- Version 16.6 (18615.3.12.11.2)
JAWS- Version 2023
NVDA- Version 2021.2
Voiceover - Version Latest