The ingenuity of Heydon Pickering strikes again. He describes his strategy to test (mainly for accessibility) by using CSS. This brings the advantage of seeing the warnings quite prominent on your page, and also provides an easy way to check for details in the browser dev tools.
I will definitely give that approach a try.