Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-25753

Accessibility assessment | Roadmaps : Focus navigates onto the same components multiple times

      Issue Summary

      On the "Accessibility assessment | Roadmaps" page, Focus inappropriately navigates onto the "3M", "1Y", and so on, buttons twice.

      Steps to Reproduce

      1. Navigate onto the above mentioned page.
      2. Navigate onto the "Filter" button and activate it.
      3. Using just your keyboard, tab through the above.
      4. Observe the keyboard focus order.
      5. Observe that focus goes onto the same component multiple times.

      Screen Recording

      Screen Recording 2024-02-12 at 11.59.28 AM.mov

      Actual Results

      The "3M", "1Y", and so on, buttons receives keyboard focus multiple times. This is because the parent <div> elements containing the <button> elements inappropriately use tabindex="0" along with role="menuitem". This may particularly disadvantage keyboard users who often navigate by tabbing through the interactive elements. The focus order may suggest that these component are multiple, separate controls, rather than single components.

      Expected Results

      Interactive elements must not receive keyboard focus multiple times.
      Make sure that focus only goes onto the interactive elements once. Refactor the components to provide a logical focus order. Avoid nesting interactive items. As well, avoid using tabindex="0" on elements that contain interactive elements.
      In this case, we would recommend you to remove the tabindex="0" and role="menuitem" attributes from the parent <div> elements containing the buttons in the DOM.
      Code Snippet
      <ul>
        <li><button aria-pressed="true">3M</button></li>
        <li><button>1Y</button></li>
        ...
      </ul>

      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 Ventura 13.3.1
      Chrome - Version 113.0.5672.63 (Official Build) (x86_64)
      Firefox- Version 92.0 (64-bit)
      Safari- Version 16.4 (18615.1.26.110.1)
      JAWS- Version 2023
      NVDA- Version 2023.3
      Voiceover - Version Latest

            [JSWSERVER-25753] Accessibility assessment | Roadmaps : Focus navigates onto the same components multiple times

            There are no comments yet on this issue.

              Unassigned Unassigned
              773dd3a38dd5 Cynthia Singh
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated: