Description
Items that are not in the tab order should not have an onclick event handler. We are evaluating items that have the onclick but no tabindex. Additionally, we are evaluating anchor tags that do not have an href attrribute, in addition to no tabindex. There is a fix for this -- add a tabindex to add the item to the taborder.

BP: https://amp.ssbbartgroup.com/public/standards/view_best_practice.php?violation_id=359

Candidate Set
<th>,<tr>,<td>,<img>,<a onclick="">,<span>,<div>

Test
We should flag any elements in the candidate set that have an onclick event handler and NO tabindex.

https://amp.ssbbartgroup.com/public/standards/view_test.php?test_id=2639

Fix
To fix we should add tabindex=0 to the element.

Form
This is a form that includes only a label and a Fix and Pass button. There should be a tool tip to the right of the label.

Form Label: Fix to add the flagged element to the tab order.
Tool Tip: Fixing this instance will add a tabindex of 0 to the element to add it to the taborder. If this is a false positive, select Pass.

        
TH with jQuery bound on click and no tabIndex, should flag
This is the table heading that should be flagged
A table cell -- not flagged
TR with jQuery bound on click and no tabIndex, should flag
This is the table heading -- It's row should be flagged
A table cell -- not flagged
TD with jQuery bound on click and no tabIndex, should flag
This is the table heading that should NOT be flagged
A table cell -- flagged
IMG tag with jQuery bound on click and no tabIndex, should flag (note, no actual image)
A tag with inline on click, no tabIndex, and no href, should flag
A tag with jQuery bound on click and no tabIndex, should flag
SPAN tag with jQuery bound on click and no tabIndex, should flag
This should be flagged
DIV tag with jQuery bound on click and no tabIndex, should flag
Should be flagged
IMG tag with inline bound on click and no tabIndex, should flag (note, no actual image)
SPAN tag with inline bound on click and no tabIndex, should flag
This should be flagged
DIV tag with inline bound on click and no tabIndex, should flag
Should be flagged
        These should not fail the test
    
TR with jQuery bound on click and tabIndex, should NOT flag
This is the table heading -- It's row should be NOT flagged
A table cell -- not flagged
TD with jQuery bound on click and tabIndex, should NOT flag
This is the table heading that should NOT be flagged
A table cell -- NOT flagged
IMG tag with jQuery bound on click and tabIndex, should NOT flag (note, no actual image)
A tag with inline on click and an href, should not flag
A tag with jQuery bound on click and an href, should not flag
A tag with inline on click and tabIndex, should NOT flag
A tag with jQuery bound on click and tabIndex, should NOT flag
SPAN tag with jQuery bound on click and no tabIndex, should NOT flag
This should NOT be flagged
DIV tag with jQuery bound on click and tabIndex, should NOT flag
Should NOT be flagged
IMG tag with inline bound on click and tabIndex, should NOT flag (note, no actual image)
SPAN tag with inline bound on click and tabIndex, should not flag
This should NOT be flagged
DIV tag with inline bound on click and tabIndex, should NOT flag
Should NOT be flagged