Tab is the way

Firefox has a bug, when trying to use (Shift+)Tab to navigate after unfocusing with Esc will cause a refocus of the same element instead of changing element and then focusing ! (Try Chromium to see intended behavior)

Should Trap Tab (Press ESC to escape)

Textarea :

Standard Inputs :

Standard Input with datalist :

Restricted Text Inputs:

ContentEditable :

I am a rich text div.

Should NOT Trap Tab (Will act like normal)

Text Inputs :

Non-text inputs :

Checkbox Radio

Other elements :