Introduction
It is impractical to code a site so all potential image formats are individually hardcoded in them. Tooling should support content negotiation to ship the smallest version of the image possible. This does not mean they always ship AVIF/WebP/Anything else. It means that of the formats supported, the one that is sent to the end user is the smallest available.
The Test
An image is requested multiple times, with various Accept headers. The resulting images are compared in filesize, and the smallest of the results should be the one that is sent by default to a user with the most accepting (i.e. most amount of supported formats) Accept header.