Branches: Identical labels for buttons

XMLWordPrintable

    Issue Summary

    Identical image buttons coded on the page in the table section.

    Steps to Reproduce

    1. Navigate to the "Repositories" drop-down in the header and activate it.
    2. Select the "m1jejwmpe8ydv" option.
    3. Navigate to the side navigation bar and activate the "Branches" link.
    4. Observe that "Branches" page has been appeared on the page.
    5. Using screen reader navigate the table section.
    6. Ensure that identical labels has been announced for the buttons.

    Screenshot

    Actual Results

    Identical label “Branch actions” is specified for the buttons in “...” image buttons (the buttons present just below the "Actions" column)
    As a result, screen reader users might not understand the purpose of the buttons effectively.

    Expected Results

    Provide unique and descriptive labels such as “Branch actions of admin/fake_file_103txt-1693371545546” and so on for the buttons using hidden text or "aria-label" attribute.
     
    Alternatively, provide the id attribute to the "admin/fake_file_103txt-1693371545546" link and aria-labelledby to the "Branch actions" with unique values.
     
    Code Snippet

    <a id="moreoption121" href="/projects/IE/repos/m1jejwmpe8ydv/compare/commits?sourceBranch=refs%2Fheads%2Fadmin%2Ffake_file_103txt-1693371545546&amp;targetBranch=refs%2Fheads%2Fmaster" title="admin/fake_file_103txt-1693371545546">admin/fake_file_103txt-1693371545546</a>
    (...)
    <button aria-labelledby="moreoption121" id="branch-list-actions-refs/heads/admin/fake_file_103txt-1693371545546" class=" aui-dropdown2-trigger aui-button aui-button-subtle aui-button-compact branch-list-action-trigger aui-dropdown2-trigger-arrowless" aria-controls="branch-list-actions-menu-refs/heads/admin/fake_file_103txt-1693371545546" aria-haspopup="true" role="button" data-aui-trigger="" resolved="" aria-expanded="false"><span class="aui-icon aui-icon-small aui-iconfont-more">Branch actions</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, 2019)
    macOS Ventura Version 13.3.1
    Chrome - Version 114.0.5735.198 (Official Build) (x86_64)
    Firefox- Version 112.0.1 (64-bit)
    Safari- Version 16.4 (18615.1.26.11.23)
    JAWS- Version 2022
    NVDA- Version 2020.3
    Voiceover - Version Latest

            Assignee:
            Carlos Sanchez Rosa
            Reporter:
            Varsha Bansode (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: