ARIA Alertdialog Role

From Level Access Web Labs
Jump to: navigation, search

Notes

This example provides a popup with a role of alertdialog with an aria-labelledby and aria-describedby reference. Focus is not restricted to the dialog in this example.

Example

Settings

Use these settings to control your account.

results

JAWS 2018 IE 11 JAWS 2018 FF 61 NVDA 2018.2.1 FF 61 VoiceOver Safari iOS 11.4.1 Talkback 4.5.1 FF 47 Talkback 6.2.0 Chrome JAWS 2018 google Chrome NVDA 2018.2.1 Google chrome
When the Open Dialog button is activated, the focus is set to the check box inside the dialog as expected. The Role of dialog is not announced and the text Use these settings to control your account. is not announced automatically. When the Open Dialog button is activated the Name (Settings) and role of the dialog are announced as expected. The text Use these settings to control your account. is announced automatically. The focus is on the Check box as expected. When the Open Dialog button is activated the Name (Settings) and role of the dialog are announced as expected. The text Use these settings to control your account. is announced automatically. The focus is on the close button. The expected behavior is that the focus will be on the Check box. When the Open Dialog button is announced, the Name (settings) is announced as expected. The Role of dialog is not announced. The text of the dialog is announced automatically as expected. The focus is on the check box as expected.