Issue Summary

      The "Draft" interactive element is inappropriately coded within the <a> element.

      Steps to Reproduce

      1. Open the home page.
      2. Activate the "Create from template" button> Select the "Blog post" option> Activate the "Next" button
      3. Navigate to the mentioned instance.
      4. Inspect the code and observe that the role defined inappropriately.

      Screenshot 

      Actual Result

      The “Draft” tooltip is coded using <a> element inappropriately.

      As a result, screen reader users are communicated with inappropriate role information.

      Expected Result

      ARIA role should be appropriately used with correct semantics and its unnecessary usage should be avoided.

      Do the following changes to fix this issue →

      • Remove the <a> element from the mentioned interactive element.
      • Code the mentioned interactive element using <button> element. Alternatively, use role=”button”, and tabindex=”0” to provide the appropriate role for the mentioned element.
      • Ensure that the tooltip content is accessible for the screen reader users.
      • Specify the ARIA role "tooltip" for the information displayed on hover. Specify an unique "id" attribute for the tooltip and reference it via the "aria-describedby" attribute of the mentioned button.
      • Modify scripts to make the tooltip information available on hover as well as on focus. In addition along with mouse specific event handlers, use keyboard specific event handlers, such as "onfocus", "onblur"and so on to make the functionality accessible for keyboard-only users.

      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.6.1
      Chrome - Version 128.0.6613.120 (Official Build) (arm64)
      Firefox- Version 92.0 (64-bit) 
      Safari- Version 17.6 (19618.3.11.11.5)
      JAWS- Version 2023
      NVDA- Version 2021.2 
      Voiceover - Version Latest

        1. defect17.png
          defect17.png
          378 kB
        2. image-2025-01-16-16-34-57-707.png
          image-2025-01-16-16-34-57-707.png
          544 kB

            [CONFSERVER-97922] Editor: status role defined inappropriately.

              zxu2@atlassian.com Zac Xu
              2b8a2d42df1b Yash Pawar
              Affected customers:
              0 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: