From 0b1b0efb14ab372ea26d7f1ac0a4d55f87b0d06d Mon Sep 17 00:00:00 2001 From: Wilco Fiers Date: Fri, 17 Jul 2020 16:30:45 +0200 Subject: [PATCH] docs(configure): config must happen in each iframe (#2392) --- doc/API.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/API.md b/doc/API.md index fb40c90063..8444ab7996 100644 --- a/doc/API.md +++ b/doc/API.md @@ -159,6 +159,8 @@ In this example, we pass in the WCAG 2 A and AA tags into `axe.getRules` to retr To configure the format of the data used by axe. This can be used to add new rules, which must be registered with the library to execute. +**important**: `axe.configure()` does not communicate configuration calls into iframes. Instead `axe.configure()` must be called with the same argument in each `frame` / `iframe` individually. + #### Description User specifies the format of the JSON structure passed to the callback of `axe.run`