A floor cleaner includes an electrically powered component and a power switch. The power switch includes a button including an actuator surface and a wall that extends away from the actuator surface. The power switch further includes a frame, the button movable relative to the frame to operate the power switch. The frame includes an inner wall that defines a button aperture, the button extending into the button aperture, an outer wall, a fluid outlet, and a fluid collection surface between the inner wall and the outer wall that directs fluid on the fluid collection surface toward the fluid outlet. The wall of the button is received in a gap between the inner wall and the outer wall of the frame so that fluid is directed along the wall of the button to the fluid collection surface and inhibited from passing through the button aperture.