Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-64772

Notifications should not steal focus if the user has interacted with the page

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.5.4, 3.6.2, 3.7
    • None
    • Accessibility, JavaScript
    • None
    • MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE

    Description

      We now change focus to notifications on page load, but this can cause focus change when the user has already started to interact with the page.

      I suspect that we need to change our rules around focus to be less greedy such that we only change focus if the document.activeElement is the document.body.

      We may need to check if the screenreader changes the initial active element on page load, etc.

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              dobedobedoh Andrew Lyons
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: