Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having a inline confirm popup alert/dialog on a menu item #3110

Open
philpil opened this issue Sep 6, 2024 · 2 comments
Open

Having a inline confirm popup alert/dialog on a menu item #3110

philpil opened this issue Sep 6, 2024 · 2 comments
Labels
question Issue asking a question

Comments

@philpil
Copy link

philpil commented Sep 6, 2024

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

@philpil philpil changed the title Having a inline popup alert/dialog on a menu item Having a inline confirm popup alert/dialog on a menu item Sep 6, 2024
@mcking65
Copy link
Contributor

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?

@mcking65 mcking65 added the question Issue asking a question label Sep 10, 2024
@philpil
Copy link
Author

philpil commented Sep 10, 2024

Possibly the same as that, is there a link to an example ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Issue asking a question
Projects
None yet
Development

No branches or pull requests

2 participants