ARIA Attributes (Reference)
expanded[1]
It is "is a good solution for many situations where an element's visibility should can be toggled"[1]. If the element creates some kind of disclosure based on a trigger, use aria-expanded. This can be used in conjunction with aria-haspopup, but isn't really necessary.
References
Last modified: 202401040446