diff --git a/examples/dialog-modal/alertdialog.html b/examples/dialog-modal/alertdialog.html index 52931bb8cc..4aab7e6612 100644 --- a/examples/dialog-modal/alertdialog.html +++ b/examples/dialog-modal/alertdialog.html @@ -35,15 +35,14 @@
To use this example:
alertdialog
role.
aria-describedby
to ensure that the user is immediately aware of the prompt.button
.
This is the least destructive action, so focusing "No" helps prevent users from accidentally confirming the destructive "Discard" action, which cannot be undone.
aria-disabled
is used instead of the HTML disabled
attribute so the buttons will remain in the page Tab sequence.
+ This makes it easier for screen reader users to discover the buttons and discern how the interface works.
+ aria-labelledby=IDREF
aria-labelledby="ID_REFERENCE"
div
aria-describedby=IDREF
aria-describedby="ID_REFERENCE"
div
aria-modal=true
aria-modal="true"
div
aria-disabled="true"
button
aria-modal
and aria-hidden
aria-modal
property was introduced in ARIA 1.1.
- As a new property, screen reader users may experience varying degrees of support for it.
+ As a relatively new property, screen reader users may experience varying degrees of support for it.
aria-modal
property to the dialog
element
- replaces the technique of using aria-hidden
on the background for informing assistive technologies that content outside a dialog is inert.
+ Applying the aria-modal
property to the dialog
element replaces the technique of using aria-hidden
on the background for informing assistive technologies that content outside a dialog is inert.
aria-hidden
is used to make content outside a dialog inert for assistive technology users, it is important that:
- aria-hidden
is set to true
on each element containing a portion of the inert layer.aria-hidden
set to true
.aria-disabled