Most recessions are preceded by yield inversion, but a yield inversion may or may not lead to a recession. That’s where are the misleading information is coming from.
Edit: Idk why the downvotes. Yield inversions occur much more often than recessions therefore by necessity some yield inversions are preceded by another yield inversion instead of a recession.