The way I understand it (my disclaimer!), things like this are covered under The Magnuson–Moss Act. This is why when you put a FRAM oil or air filter on your car, the Dealer can't invalidate your powertrain warranty because you didn't use an OEM part.No it does not, if a failure can be traced back to it then the warranty could be declined on that failure.
If the Dealership/maker requires you to use an OEM part to maintain warranty, I believe they then have to provide that part free of charge (?). This is also how you can get work done outside of a dealership, like oil changes and still maintain your powertrain warranty.
So, not everything voids a warranty.
How many times have we all heard "Oh, that's not covered under your warranty" anyways!