A good example of this is the toast notification on this site. It is cool that we can pop up a toast using only HTML... but it can't be dismissed by anything other than user interaction.
This is as it should be. Notifications that disappear are bad accessibility https://www.scottohara.me/blog/2019/07/08/a-toast-to-a11y-to...