Why audio stops at 20 kHz
The 20 Hz–20 kHz range is an idealised description of a young person’s hearing. Digital audio was built around it: CDs sample at 44.1 kHz, which can represent frequencies up to 22.05 kHz, leaving room for filters above 20 kHz. Your browser plays this tone at 44.1 or 48 kHz, so it is reproduced accurately.
Most adults top out somewhere between 14 and 17 kHz, and even young people often stop below 20 kHz. This tone is more useful as a check of your playback chain than of your ears.
Testing safely at 20 kHz
Because you can’t hear it, you can’t tell how loud it is. A continuous 20 kHz tone at high volume can overheat tweeters, which handle far less power than woofers, and high-level ultrasonic sound isn’t good for ears either. Keep the volume slider low and don’t leave the tone playing.
If you hear a clear lower-pitched tone, flutter or crackle, your speakers or headphones are producing distortion or intermodulation products. That is a sign to turn down. Pets can hear well above 20 kHz, so a dog or cat may react even when you hear nothing.