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

      1. Open the home page and activate the "Project" link in the header.
      2. Activate “PROJ” project.
      3. Activate any repository link from the “name” column of the data table, which will direct you to the source page.
      4. Now activate the Commits link from the left navigation.
      5. Using the screen reader, navigate to the mentioned buttons.
      6. 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="{&quot;fingerprint&quot;:&quot;&quot;,&quot;type&quot;:&quot;GPG&quot;,&quot;isVerified&quot;: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

            [BSERV-19977] Commits page : Identical and inappropriate label for button

            There are no comments yet on this issue.

              Unassigned Unassigned
              386e1d4d23d4 Rohit Yadav
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated: