Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-172552

HR_477 Delete modal should have alert role in site administration

Details

    • 2
    • Default

    Description

      *Description copied from https://issues.liferay.com/browse/LPS-168778*

       
      Spreadsheet Link

      Related HR's

      HR_477

      Steps to Reproduce:

      • Open the URL
      • Go to Control Panel - SITES-->Sites
      • Add a new site
      • Using Jaws
      • Traverse the add site pages using the tab key
      • Try to delete a site

      Expected Result:
      When the delete dialog opens, it is read as an alert

      Actual Result:
      The delete dialog is not read to the user

      Reproduced on
      Tomcat 9.0.65 + MySQL 8.0
      Portal master GIT ID: be1ff19a547365c451de01ce5d990c628af771ec

       

      Possible fix (suggested by marcos.castro)

      • When we are going to delete a site we have a confirmation modal, this confirmation modal should be an alert (role="alert"). in other way the user cannot read what is confirming
      • When the delete action is done the page refresh and an alert type "toast" appears but is not annunced, for this, the pattern is:
        • If the alert has not action like "undo" or links to interact, it will be just a role="alert"
          • In this case and after a page refresh we could move the focus to the next element in the list
        • If the alert have links or interactuable buttons like "undo" we will annunce the text by role="alert" and we will move the focus to the alert in order to allow users make the actions or follow the links

      Attachments

        Issue Links

          Activity

            People

              support-lep@liferay.com SE Support
              pablo.molina Pablo Molina
              Rafaela Nascimento Rafaela Nascimento
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                20 weeks, 5 days ago

                Packages

                  Version Package
                  7.4.3.61 CE GA61
                  Master