Can contraceptives be used to prevent spreading disease?

I’m just curious - these are not practical, applicable questions for me, just thoughts which arose.

In a previous show, I heard it said that NFP is allowed because, if God wants a baby to result, it will. Most contraceptives have a chance of failure, albeit slight - so it seems as though that would make them accepted.

But my question primarily is this:
If a married couple uses contraceptives not to prevent children but to prevent spreading disease to the spouse, wouldn’t that be considered acceptable use?

These links should help answer your question on contraception. If you have any further questions or concerns that are not answered by these links, please contact Catholic Answers directly.

**Recommended Reading: **

Are condoms permissible to stem HIV?
Has the church allowed the use of condoms in some parts of the world?
Catholic condom ban helping AIDS?
What would God think of the ban on condoms? (7th question)

DISCLAIMER: The views and opinions expressed in these forums do not necessarily reflect those of Catholic Answers. For official apologetics resources please visit www.catholic.com.