As far as I know, WebM only recently added AV1 support to its container format. Before that, it was already supported in MP4 and Matroska.
I was unable to find any evidence of this anywhere I looked. For instance this webpage: https://www.webmproject.org/docs/container/ shows only VP8 and VP9 as acceptable video codecs.
Any idea why they flipped the switch on that? Seems irresponsible when .mkv will do in all circumstances.