-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch axs.AuditRule.collectMatchingElements to prevent JS errors with…
… cross-origin iframes Summary: GoogleChrome/accessibility-developer-tools@df40093 fixes a bug that's prevalent on tota11y master, which causes JS errors when iframes of other origins are on the page. Until that commit makes its way to npm, I am patching the method. I'm also trying a new pattern of explicitly called a function named patch_____() - which should be easier to remove in the future. Perhaps this could even go in a patches.js! We should probably think about maintaining an ADT fork as well, but this works for now. Test plan: . npm run live-test . Activate "Alt text" and "Labels" plugins . See no JS errors Auditors: michelle, riley
- Loading branch information
Showing
1 changed file
with
86 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters