You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
If we were writing this audit we would probably return some basic info about all the links in the buttons, and then the audit would fail if the artifact had length > 0. The nice thing about this approach of splitting audit/gatherer is that the audit then has some helpful debug information to show when it's failing, i.e. you can give the textContent/url of the link that's failing so the dev knows where to go to fix it.
If we were writing this audit we would probably return some basic info about all the links in the buttons, and then the audit would fail if the artifact had length
> 0
. The nice thing about this approach of splitting audit/gatherer is that the audit then has some helpful debug information to show when it's failing, i.e. you can give the textContent/url of the link that's failing so the dev knows where to go to fix it.