While on Wi-Fi, if the compatible wireless device can still communicate with an LTE or 5G cellular network, it will receive emergency alerts. If the wireless device cannot connect to an LTE or 5G cellular network (or is set to Wi-Fi only) it will not receive an emergency alert.
Devices that are Wi-Fi only will not receive alerts.