Skip to content

Commit

Permalink
docs(configure): config must happen in each iframe (#2392)
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoFiers authored Jul 17, 2020
1 parent 63d69ea commit 0b1b0ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 0b1b0ef

Please sign in to comment.