This dialog uses the accessible-label
attribute to define its accessible name for assistive technology.
If the dialog includes a heading, the heading automatically becomes its accessible name—as long as the
accessible-label
attribute does not exist. If neither a heading nor the accessible-label
attribute are provided, the dialog's accessible name defaults to the text content of its trigger element.
Learn more about these attributes in the rh-dialog docs.