The code_block component adds tabindex="0" to <pre> elements, making them focusable — but Tab cannot escape once focus enters. This is a WCAG 2.1 SC 2.1.2 (No Keyboard Trap) violation. Fix: remove tabindex or ensure a keyboard escape mechanism (e.g. Escape key) exits the block. Affects Getting Started, CLI Reference, and Otter Raft pages. Found in e2e run on PR #437.
The
code_blockcomponent addstabindex="0"to<pre>elements, making them focusable — but Tab cannot escape once focus enters. This is a WCAG 2.1 SC 2.1.2 (No Keyboard Trap) violation. Fix: removetabindexor ensure a keyboard escape mechanism (e.g. Escape key) exits the block. Affects Getting Started, CLI Reference, and Otter Raft pages. Found in e2e run on PR #437.