MDL-39814 actionmenu: improved alignment, constraint handling, and accessibility