From my understanding, the frequency and wavelength of a mechanical wave can be observed by the motion of the particles (i.e., as the particles oscillate from their state of equilibrium, the wave propagates through the medium).
But, with electromagnetic waves, how do we measure its frequency and wavelength? If an electromagnetic wave travels across a vacuum, isn't it pretty much invisible to the naked eye?