A note regarding this suggestion: setting state:focused="true" in the base XML isn't guaranteed to override the existing focus when the new popup is displayed. In order to assure correct focus management, don't set state:focused in the base XML. Instead, use <set state:focused="true"/> in a <cue> that is triggered by the appearance of your popup (if you rely on markup for focus management) or use the Animated Property API:
popup menu default item
Davids Learning
Jouan
edwinzzz
A note regarding this suggestion: setting state:focused="true" in the base XML isn't guaranteed to override the existing focus when the new popup is displayed. In order to assure correct focus management, don't set state:focused in the base XML. Instead, use <set state:focused="true"/> in a <cue> that is triggered by the appearance of your popup (if you rely on markup for focus management) or use the Animated Property API:
document.yourPopup.state.focused="true";
document.yourPopup.state.unsetProperty("focused");