Uploaded image for project: 'PUBLIC - Liferay Alloy UI'
  1. PUBLIC - Liferay Alloy UI
  2. AUI-1908

Only block focusing on iframes outside of modal.

    Details

      Description

      We stop tabbing to focus on iframes on page.

      This logic is reflected by the code in

      src/widget-modality/js/Widget-Modality.js
              /**
               * Blocks iframes on the page from getting focused by setting their
               * tabIndex attribute to -1. The previous value of tabIndex is saved
               * so it can be restored later.
               *
               * @method _blockIFrameFocus
               * @protected
               */
              _blockIFrameFocus: function() {
                  Y.all('iframe').each(function() {
                      this.setAttribute('data-tabindex', this.get('tabIndex'));
                      this.set('tabIndex', -1);
                  });
              },
      

      However, we should not stop focusing on iframes inside the modal. We only need to stop focusing on iframes OUTSIDE modal.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              maira.araujo Maíra Araujo (Inactive)
              Reporter:
              john.zhao John Zhao (Inactive)
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 37 weeks, 1 day ago

                  Packages

                  Version Package
                  2.0.x
                  master
                  master-deprecated
                  3.0.x
                  2.0.0.54-deprecated