Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-19945

Create pull request: Expand/collapse state of the button not defined

      Issue Summary

      The "Signature not verified" button's state is not defined programmatically

      Steps to Reproduce

      1. Open "Bitbucket" homepage.
      2. Open any project and activate "Repository" from header. 
      3. Activate "Create pull requests" link from side navigation.
      4. Navigate onto and activate "Commits" tab.
      5. Turn on the screen reader and navigate with tab key onto mentioned button present in data table under "Commit" column and activate.
      6. Listen that the expand/collapse state is not announced for the button.

      Screenshot

      Actual Results

      The content gets expanded/collapsed dynamically below on activating the "Signature not verified" button present in the data table under "Commits" tab. The expand/collapse state is not programmatically determined. Although the dynamic change in the content is easier to understand for sighted users, it is not intuitive for screen reader users.

      Expected Results

      Set the 'aria-expanded' attribute to 'false' for the button by default as the button is in the collapsed state. Ensure that the value of the 'aria-expanded' attribute changes to 'true' in the expanded state on user interaction via scripting.

      Code snippet

      <button aria-expanded="false" ...>Signature not verified</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

          Form Name

            [BSERV-19945] Create pull request: Expand/collapse state of the button not defined

            There are no comments yet on this issue.

              Unassigned Unassigned
              75e99cd1893f Naeem Solkar
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated: