Status Page | Corporate Tax and Trade: Keyboard focus not set onto non-modal dialog

XMLWordPrintable

    • Severity 3 - Minor
    • Accessibility

      Issue Summary

      The keyboard focus is not set on the "Subscribe to updates" non-modal dialog.

      Note:

      This issue has a lower impact on users because the non-modal dialog is coded after the triggering element in the DOM.

      Therefore, we are assigning it a "Medium" priority instead of classifying it as "High", based solely on WCAG Level A compliance.

      Test URL

      Env

      Steps to Reproduce

      1. Open the Corporate Tax and Trade page.
      2. Using a screen reader or only keyboard, activate the "Subscribe to updates" button.
      3. Observe a dialog appears.
      4. Note that the keyboard focus remains on the button instead of moving to the dialog.

      Screen Recording

      Keyboard focus bug.mp4

      Actual Results

      When users activate the "Subscribe to updates" button, the corresponding non-modal dialog appears on the page. However, the keyboard focus is not set to the dialog; instead, it remains on the triggering button.

      As a result, this creates a poor experience for both screen reader and keyboard-only users.

      Expected Results

      The programmatic focus should be set to the first logical element within the dialog as soon as it appears.

      In this case, set the keyboard focus to the first logical element, such as "Subscribe via email", using JavaScript’s .focus() method.

      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 Sequoia 15.5
      Operations - Windows11
      Chrome - Version 138.0.7204.184 (Official Build) (64-bit)
      Safari- Version 18.5
      JAWS- Version 2023
      NVDA- Version 2025.1.1
      VoiceOver - Version Latest

        1. Keyboard focus bug.mp4
          12.41 MB
          Chirag Goyal

            Assignee:
            Manvita Syreddy
            Reporter:
            Chirag Goyal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: