UPDATE: I was late at the image-set party, please read this blog post, how to support avif and webp images in your project.
Safari is late at the webp party, whilst Firefox and chromium-based browsers heading to the avif party. This means I need to extend my webp feature detection