Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-99624

Insert Redirect Macro Dialog: Missing required attribute for the form field

XMLWordPrintable

      Issue Summary

      The "Name" form field is missing a required or aria-required="true" attribute.

      Steps to Reproduce

      1. Open the Confluence DC instance.
      2. Navigate to the header section, activate the "Spaces" control, and open any space.
      3. In the main content area, open any existing page and activate the "Edit" control.
      4. In the Toolbar, select "Insert more content" and then click on "Other macros".
      5. In the Search form field, type "Redirect", then activate the "Redirect" control to open the modal dialog.
      6. Inspect the mentioned form field and observe that the "required" attribute is missing.

      Screen Recording

      Required.mp4

      Actual Results

      When screen reader users navigate to the "Name" form field in the "Insert Redirect Macro" dialog, the required status of this field is not conveyed programmatically. This occurs because the field is missing the required attribute or aria-required="true". As a result, screen reader users are unable to identify that the field is mandatory.

      Expected Results

      Ensure that the required status is clearly conveyed to screen reader users.

      In this case, add the required attribute or aria-required="true" to the <input> element.

      Code Snippet:

      <label for="macro-param-Name">Name *</label>

      <input type="text" id="macro-param-Name" required>

      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.4.1
      Operations - Windows11
      Chrome - Version 135.0.7049.42 (Official Build) (64-bit)
      Safari- Version 18.4
      Firefox- Version 135.0 (64-bit)
      JAWS- Version 2023
      NVDA- Version 2024.4.2
      VoiceOver - Version Latest

        1. Required.mp4
          17.47 MB
        2. Required Fixed.mp4
          9.06 MB

              bb797b5e39e7 Judy Lim
              deddb3877943 Chirag Goyal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: