Activate the "Open test page" button below, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the first input.
If NVDA did not make the focus mode sound when the test page loaded, press Insert+Space to turn focus mode on.
With focus on an input inside a modal dialog, close the dialog.
Using the following commands, With focus on an input inside a modal dialog, close the dialog.
Escape
Success Criteria
To pass this test, NVDA needs to meet all the following assertions when each specified command is executed:
Role of the focused element ('button') is conveyed
Name of the focused element ('Add Delivery Address') is conveyed
Record Results
Close a modal dialog in interaction mode
After 'Escape'
Assertion
Success case
Failure cases
Role of the focused element ('button') is conveyed(required: mark output)
Name of the focused element ('Add Delivery Address') is conveyed(required: mark output)