Context: Even though Chromium has native support for AVIF, a very nice image format, Microsoft goes out of their way to remove it from Edge, which is a chromium fork. Jpeg XL (JXL) (not to be confused with Jpeg (JPG) or Jpeg 2000 (jpg2k) ) is another nice image format, which, IIRC, is only supported in Firefox.
Animated PNG actually does exist but it has poor support coverage.
I remember using it to make whatsapp animated stickers
All major browsers (98% of all users) have supported APNG since at least 2020
Firefox: 2008.
Safari: 2014.
Chrome: 2017.
Edge: 2020.
https://caniuse.com/apng
I believe the photo app in Win 10 (and maybe 11) still doesn’t support it but that shouldn’t hinder web devs.