ARIA Attributes (Reference)


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.


  1. Marking elements expandable using aria-expanded - ADG

Last modified: 202309132252