Having a inline confirm popup alert/dialog on a menu item
Can you provide a pattern form when a menuItem is pressed but it has a confirm popup (with arrow pointed to origin item) what should happen.
From what I have found there is no set in stone pattern for keeping both items in focus so the reader can see the confirm is for the item that was selected and then they have the choice to confirm and close both or cancel and go back to them menu
https://w3c.github.io/aria/#aria-owns The menu item can own the confirm dialog so they both stay in focus
https://w3c.github.io/aria/#aria-haspopup
Menu item can also have haspopup - of type dialog so it follows the rules of the menuItem remaining activate
Hi @philpil
I'm having a hard time understanding the pattern and use case you are asking about. Would this be like an action menu for the selected file in a list of files where the menu includes a delete action and activating delete opens a confirmation prompt?
Possibly the same as that, is there a link to an example ?