We tested the best cordless vacuums for hardwood floors in our Lab, including those for pet hair, and evaluated them on factors such as runtime, noise level, effectiveness, maneuverability, and overall value.