Accessibility
- The trigger is a real
<button>, so it is reachable by Tab and activated by Enter or Space. aria-expandedreflects the open state;aria-describedbypoints at the popover only while it is visible, so the description is announced as the button's description rather than duplicated in its name.- Give
labela specific value when the hint sits next to an ambiguous value: the default name, "More information", tells a screen-reader user nothing about what is being explained. - Escape closes the popover and leaves focus on the trigger.
- The open animation is suppressed under
prefers-reduced-motion: reduce.