Add option to silence `accessibility warnings`
See original GitHub issueDescribe the feature you’d like:
The accessibility warning is nice! But if I’m going to update the testing-playground chrome extension to use the latest version of dom-testing-library, it will start logging errors because of the console.warn expressions. The user won’t see them in their console. Instead, they appear on the extensions page, looking like something in the extension was broken.
Can we add an option to silence that warning? I still want to have that warning attribute on the return value, I just don’t want it to invoke console.warn.
Instead of adding an option, it might also make sense to simply move the printing higher up the tree.

Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Get rid of the "Accessibility Issues" warning bar in Outlook
Select File -> Options -> Ease of Access to access the "Accessibility checker options" menu. Select "Show me accessibility warnings only ...
Read more >ARIA: alert role - Accessibility - MDN Web Docs - Mozilla
The alert role is used to communicate an important and usually time-sensitive message to the user. When this role is added to an...
Read more >Use accessibility shortcuts on iPhone - Apple Support
On iPhone, quickly turn on or off many accessibility features using Siri, a button shortcut, or Control Center.
Read more >Test your app's accessibility - Android Developers
Open your device's Settings app. · Navigate to Accessibility and select TalkBack. · Select Settings > Advanced settings > Developer settings: Log ...
Read more >Your Guide to Smartphone Accessibility Settings - AARP
On an iPhone, tap Settings | Accessibility and select among many accessibility choices. On an Android phone such as the Google Pixel 6,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I plan to work on this issue today.
Closing since there are no examples for false positives. This is purely a chrome extension issue and I’d rather not endorse the usage outside of this very specific use case.
Extensions should either mock out the console accordingly or create a fork that suites there use case.