All WCAG criteria
WCAG 2.1·Understandable·3.2 Predictable

3.2.1 On Focus

Level A

Receiving focus must not trigger a context change (new window, page reload, form submit).

Why it matters

A keyboard user tabbing through the page should not have the page change underneath them.

Common failure
<select onfocus="location.href=this.value">...</select>
Accessible version
<select onchange="location.href=this.value">...</select>

How OnlyEnable handles this

Source-code fix required. No widget can solve this — it requires changes to your content or markup. Our remediation team can help.

Related criteria in 3.2 Predictable