Reviewed concrete example
Focus is the permission boundary
To tap BPM with spacebar, first move keyboard focus to the pulse disc with Tab or a direct pointer action. Space records timing only while that control owns focus. It does not monitor the whole page, browser, or device.
The focus ring must remain clearly visible. Screen-reader users receive the control name, current stage, tap count, and result without focus jumping elsewhere.
One keydown, one event
The implementation ignores event.repeat, so holding Space cannot manufacture a fast series. It prevents the usual page-scroll action only inside the focused disc. Releasing and pressing again creates the next deliberate timestamp.
Do not test by holding the key. Match distinct presses to one chosen pulse.
A keyboard sequence
Follow a 120-BPM quarter-note pulse. Four presses near 0, 500, 1,005, and 1,500 milliseconds create gaps of 500, 505, and 495. Rates are 120, about 118.81, and about 121.21; recent median is 120.
Tap count shows four. Half-time shows 60 and double-time 240. The page does not expose typing speed, range, or keyboard statistics.
Prevent accidental scrolling
Space normally scrolls many pages. Inside this focused button, the default scroll action must be prevented while the event is accepted. Outside it, normal page navigation continues. This narrow handling supports access without installing a global listener.
Enter is an equivalent keyboard alternative. Choose one key per attempt rather than alternating.
Lost focus
If a modal browser prompt, address bar, another control, or tab change takes focus, Space should not record taps. Return to the disc and start a fresh sequence after Reset. A missing activation can create a doubled gap if you continue without noticing.
The visible tap count helps confirm one action per press.
Auto reset
A pause greater than three seconds starts a new sequence. The next Space press becomes tap one and has no BPM. This is intentional, not a lost result. Use Reset when changing source or pulse even if the pause is shorter.
Hardware and timing limits
Keyboard switch travel, firmware, connection, operating system, browser scheduling, and personal movement can affect events. A constant delay often cancels between neighboring timestamps, but variable delay can change gaps. The site cannot isolate cause or rank devices.
No keyboard method guarantees source truth. Verify consequential work independently.
Desk-side transcription scenario
Suppose an arranger is listening to a rehearsal recording on one device while a laptop displays the pulse control. The arranger places both hands comfortably, tabs once to confirm the focus ring, and presses Space on the conductor’s visible downbeat. Because the source contains a two-bar pickup, the arranger waits until the first full phrase instead of beginning during the lead-in. After seven presses, the result is noted as “full-beat gesture, opening theme, approximate.” The recording title never needs to enter the page.
During a second pass, a notification steals focus after press three. The tap count fails to advance on the next attempted Space. That visible mismatch is the reason to discard the trial, restore focus, and Reset. Guessing an omitted timestamp would undermine the observation. This example also shows why the page-wide Space key must remain ordinary when the disc is not selected.
A keyboard-only acceptance checklist
Start at the browser’s normal reading position. Reach the disc using Tab without encountering a trap. Confirm the ring is visible at high zoom. Press and release Space four times; the page should remain stationary and count exactly four. Hold Space briefly; the count should not race. Move focus to another link and press Space; no timing action should occur. Return, activate Reset, and confirm the cleared state is announced before another trial.
These checks examine interaction behavior, not tempo accuracy. For a real source, maintain relaxed, separate keystrokes rather than striking harder when the display changes. The physical rhythm should follow the observed pulse, while the interface merely acknowledges accepted actions.
When Enter may be easier
Space and Enter are equivalent supported choices, but a user’s keyboard layout, switch setup, or hand position may make one more comfortable. Select the easier key before beginning. Consistency matters more than a supposed universal latency advantage, which this guide does not claim or measure.
Accessibility details
The disc must be reachable in a logical tab order, large enough at zoom, and identifiable without color. Status uses a polite live region and avoids announcing every decorative animation. Reduced motion removes ring expansion while leaving confirmation visible.
Reset has its own label and restores focus to the disc.
Privacy boundary
Only accepted focused events become current-page timestamps. The product does not capture typed characters, use global shortcuts, send key timing to a server, store history, or attach a user identity. There is no microphone, audio, file, URL, API, account, database, or analytics vendor.
Frequently asked questions
Why does Space scroll instead of tap?
The pulse disc probably lacks focus. Tab to it and confirm the visible ring.
Why does holding Space not work?
Auto-repeat is intentionally ignored; tempo requires deliberate presses.
Is Enter different?
It is another supported activation. Use one method consistently.
Can the site see keys in another tab?
No. It has no page-external or global listener.
Tab to the pulse disc, confirm focus, press and release Space on four quarter notes, read the median, then use Reset and verify focus returns.
