I mean:
AVIF supports transparency for lossless images but doesn’t support transparency for lossy images. On the other hand, WebP is the only image format that supports RGB channel transparency for lossy images.
And yet:
AVIF supports alpha but instead of using a pixel format like most other codecs, it uses a second video stream as an alpha matte.
Maybe this is old info, or incorrect or something :P