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

Children Display macro : Error message inaccessbile for the screen reader users in the preview section

XMLWordPrintable

    Issue Summary

    Error message inaccessible for the screen reader users in the preview section, which makes assistive technology users unaware of the occurrence of error.

    Steps to Reproduce

    1. Edit the Page.
    2. Select the Children Display macro.
    3. In the Children display modal, add the required value and activate the refresh preview button.

    Screenshot

    Actual Results

    When users submit the refreshes the preview link with forms errors for children display macro, error messages get displayed in the preview section, but the focus is not available on the message nor the error message announced to the screen reader user. As a result, screen reader users were unaware of the occurrence of errors on the page.

    Expected Results

    Ensure the error message is accessible by the screen reader user and is announced appropriately when the user enters incorrect values in the form field.

    Apply the following changes:

    • Add the role="alert" to the <div> element of the error message
    • The focus should not move and must remain on the "refresh" element even if the error has occurred. 

    Workaround

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

            Unassigned Unassigned
            2b3f463b7e2d Akhilesh Paradhi (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: