3 ms·
I wonder why there is no corresponding `role="popover"` HTML attribute yet.
by silverwind 2y ago
I wonder why there is no corresponding `role="popover"` HTML attribute yet.
- megaman821 2y agoThe docs warn that there is no role associated with the popover attribute because it could be a menu, tooltip, etc., and you should put the correct role on it. Accessibility-wise it does take care of the item with the popovertarget, so you don't have to put aria-controls and aria-expanded.