curl | sh, though somewhat risky, isn't intrinsically insecure as a pattern. If you know what can go wrong, you'll be better-equipped to wisely use it.
Here, I'll break down the four categories of guidelines in WCAG 2.0 and offer some suggestions on how to plan for and evaluate them when designing software.