With proper CSS it can be very standards-compliant. The links to reveal the spoilers can be hidden in print media.
But then what happens to the spoilers? Someone reading the article on paper should get the same experience as someone reading it online. That's what the self-reference policy is all about.