Select Macro: aria-hidden="true" provided incorrectly to the modal

XMLWordPrintable

    Issue Summary

    For the Select Macro modal, aria-hidden="true" is used on informative content making it inaccessible to assistive technology.

    Steps to Reproduce

    1. Edit the confluence page
    2. Open the Select macros modal.
    3. In the Select macros modal, with the keyboard and screen reader on, navigate into the modal.

    Screenshot

    Actual Results

    The "aria-hidden" attribute is provided to the Select macro, which becomes available on selecting the Macros options. As a result, screen reader users cannot access the modal effectively.

    Expected Results

    Remove aria-hidden=”true” from the <div> element in the page source for the modal.

    The aria-hidden="true" attribute is used to hide the content from assistive technology users. Although it is a best practice to use the aria-hidden="true" attribute to hide irrelevant content for screen reader users, it can pose issues for screen reader users if it is not used correctly. 
    Additionally, ensure the focus does not move out of the modal in the background content unless the modal is closed.

    Workaround

    Currently, there is no known workaround for this behaviour. A workaround will be added here when available

          Assignee:
          Kostiantyn Smolenskyi (Inactive)
          Reporter:
          Akhilesh Paradhi (Inactive)
          Votes:
          1 Vote for this issue
          Watchers:
          5 Start watching this issue

            Created:
            Updated:
            Resolved: