Focus context stability (focus)

Focus on any interactive element (such as a button, input field, or link) does not cause any unexpected change in the page's context (e.g. redirection)


Unexpected form submission:

Focusing on this e-mail input field causes the form to be submitted:




Note: Impossible to auto-test (partial auto-testing possible?). Requires a human tester or AI to visually or programmatically determine if focus on an element causes a context change.

A partial auto-test could hypothetically be performed by programmatically checking if focus eventlisteners are linked to context-change events such as window.open('').