Summary
In src/App.jsx lines 373-375, the space key handler returns early when any <button> or <select> element is focused. Keyboard-only users who Tab through the sidebar cannot start/stop the timer.
Details
- File:
src/App.jsx lines 373-375
if (document.activeElement.tagName === 'BUTTON' || document.activeElement.tagName === 'SELECT') return;
- The timer's touch surface also lacks
role="button" and tabIndex
Impact
Violates WCAG 2.1.1 (Keyboard). Users who navigate via keyboard cannot operate the timer, which is the core functionality of the app.
Suggested Fix
Allow Space to activate the timer regardless of focused element, or ensure the timer button is focusable via Tab.
Summary
In
src/App.jsxlines 373-375, the space key handler returns early when any<button>or<select>element is focused. Keyboard-only users who Tab through the sidebar cannot start/stop the timer.Details
src/App.jsxlines 373-375if (document.activeElement.tagName === 'BUTTON' || document.activeElement.tagName === 'SELECT') return;role="button"andtabIndexImpact
Violates WCAG 2.1.1 (Keyboard). Users who navigate via keyboard cannot operate the timer, which is the core functionality of the app.
Suggested Fix
Allow Space to activate the timer regardless of focused element, or ensure the timer button is focusable via Tab.