AX_FOCUS_02
This code example is taken from the Accessibility Developer Tool Documentation
Example Begin
Submit
Next page
Example End
Code for this Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Bad: span with onclick attribute has no tabindex --> | |
<span onclick="submitForm();">Submit</span> | |
<!-- Bad: anchor element without href is not focusable --> | |
<a onclick="showNextPage();">Next page</a> |