third_party/aria-practices/src/content/patterns/dialog-modal/examples/dialog.html
Add Delivery Address
Street:
City:
State:
Zip:
Special instructions: For example, gate code or other information to help the driver find you
Verify AddressAddCancel
This is just a demonstration. If it were a real application, it would provide a message telling whether the entered address is valid.
For demonstration purposes, this dialog has a lot of text. It demonstrates a scenario where:
There are several ways to resolve this issue:
Please DO NOT make the element with role dialog focusable!
In this dialog, the first paragraph has tabindex=-1. The first paragraph is also contained inside the element that provides the dialog description, i.e., the element that is referenced by aria-describedby. With some screen readers, this may have one negative but relatively insignificant side effect when the dialog opens -- the first paragraph may be announced twice. Nonetheless, making the first paragraph focusable and setting the initial focus on it is the most broadly accessible option.
link to helpaccepting an alternative formClose
The address you provided has been added to your list of delivery addresses. It is ready for immediate use. If you wish to remove it, you can do so from your profile.
OK
You activated a fake link or button that goes nowhere! The link or button is present for demonstration purposes only.
Close