Skip to content

Commit

Permalink
remove must which is not normative (#37653)
Browse files Browse the repository at this point in the history
Musts in MDN are being misinterpreted as normative requirements. There is no MUST requirement here in the ARIA spec (it is a should) so MDN should not introduce one
  • Loading branch information
jnurthen authored Jan 15, 2025
1 parent a731cff commit cdee0a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ As the name implies, `alertdialog` is a mashup of the [`dialog`](/en-US/docs/Web
Being a type of dialog, the [`dialog`](/en-US/docs/Web/Accessibility/ARIA/Roles/dialog_role) role's states, properties, and keyboard focus requirements are applicable to the `alertdialog` role as well.

Because of its urgent nature, interrupting the user's workflow, alert dialogs must always be [modal](/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-modal).
Because of its urgent nature, interrupting the user's workflow, alert dialogs should be [modal](/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-modal).

The alert dialog must have at least one focusable control — such as Confirm, Close, and Cancel — and focus must be moved to that control when the alert dialog appears. Alert dialogs can have additional interactive controls such as text fields and checkboxes.

Expand Down

0 comments on commit cdee0a0

Please sign in to comment.