Commit 7c88d016 authored by Edgar Chen's avatar Edgar Chen
Browse files

Bug 1896721 - Add exception from a11y_checks for click event tests; r=ayeddi

parent d3bd71fa
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -43,7 +43,14 @@ add_task(async function testClickScreenXY() {
      // Ensure the event listener has registered on the remote.
      await executeSoonRemote(browser);

      // We intentionally turn off this a11y check, because the following click
      // is send on the <browser> to test click event, that's not meant to be
      // interactive and is not expected to be accessible:
      AccessibilityUtils.setEnv({
        mustHaveAccessibleRule: false,
      });
      EventUtils.synthesizeMouseAtCenter(browser, {});
      AccessibilityUtils.resetEnv();

      let parent = await parentPromise;
      let content = await contentPromise;