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

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

    XMLWordPrintable

Description

    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

    Attachments

      Issue Links

        Activity

          People

            607d03f48037 Kostiantyn Smolenskyi (Inactive)
            2b3f463b7e2d Akhilesh Paradhi (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: