According to specification:
Esc Closes the menu. If it is a submenu, it moves focus to parent menu.
Steps to reproduce:
1. Open HelloMenu
2. Click on Debug menu item
3. Using keyboard, navigate to "submenu" and open it.
4. Press Esc.
Expected: submenu is closed
Got: submenu and parent menu are closed.
Esc Closes the menu. If it is a submenu, it moves focus to parent menu.
Steps to reproduce:
1. Open HelloMenu
2. Click on Debug menu item
3. Using keyboard, navigate to "submenu" and open it.
4. Press Esc.
Expected: submenu is closed
Got: submenu and parent menu are closed.