Codex Buttons are designed to support keyboard accessibility: buttons can be focused via the "Tab" key, and a focused button can be triggered by pressing Space or Enter.
When a button is clicked with the mouse, it briefly shows its "active" state between the `mousedown` and `mouseup` events. This makes it clear to the user that they did in fact click the button.
The same visual confirmation needs to be shown to keyboard users. Buttons should show the "active" state when a key is first pressed, and that state should remain until the key is released.
Currently this does not always happen.
Here's what I'm seeing currently (on MacOS 12.4):
| Browser | Space key | Enter key |
| Google Chrome 103.0.5060.134 | Behaves correctly | **no visual indication** |
| Safari 15.5 | Behaves correctly | **no visual indication** |
| Firefox | **no visual indication** | **no visual indication** |
=== Acceptance Criteria ===
[] Enter and Space keypress should display "active" state while for the duration of keypress in all browsers