-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
9.5.1
-
Severity 3 - Minor
-
Issue Summary
An identical and inappropriate label for the “getText('bitbucket.web.repository.commits.signature.not.verified.tooltip')“ buttons has been provided.
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.
- Using the screen reader, navigate to the mentioned buttons.
- Listen that the button labels are identical and inappropriate.
Screenshot
Actual Results
The identical and in appropriate labels “getText('bitbucket.web.repository.commits.signature.not.verified.tooltip')” are specified for the buttons in the “Commit” table to hashcode from the database.
As a result, screen reader users might not understand the purpose of the buttons effectively.
Expected Results
The screen reader should announce unique and descriptive labels for the buttons.
Provide unique and descriptive labels such as “Signature not verified for e9d68333045” and so on for the buttons using hidden text or the "aria-label" attribute.
Workaround
Currently there is no known workaround for this behaviour. A workaround will be added here when available.
Code Snippet
<button class="aui-button aui-button-compact aui-button-subtle" data-testid="commit-signature-dialog-button" data-signature-commit-id="e9d68333045783eda6d93ed22d622a34fa1193e5" data-signature-commit-message="Add Go Ireland Meetup to the list (#5618)" data-signature="{"fingerprint":"","type":"GPG","isVerified":false}" onclick="require('@bitbucket/commit/commit-details/commit-signature/soy-binder').render(this)" autocomplete="off" role="button" aria-label="Signature not verified for e9d68333045" resolved=""><span class="aui-icon aui-icon aui-icon-small aui-iconfont-warning" aria-hidden="true"></span></button>
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