mirror of
https://github.com/mgeeky/decode-spam-headers.git
synced 2026-02-22 13:33:30 +01:00
MAESTRO: improve report keyboard focus
This commit is contained in:
@@ -55,6 +55,6 @@ ReportContainer
|
|||||||
- [x] Search filters results in real-time across test name, header name, and analysis text
|
- [x] Search filters results in real-time across test name, header name, and analysis text
|
||||||
- [x] Export JSON produces a valid JSON file containing all results
|
- [x] Export JSON produces a valid JSON file containing all results
|
||||||
- [x] Export HTML produces a styled standalone page viewable in any browser
|
- [x] Export HTML produces a styled standalone page viewable in any browser
|
||||||
- [ ] All report components are keyboard accessible
|
- [x] All report components are keyboard accessible
|
||||||
- [ ] Linting passes (`npx eslint src/`, `npx prettier --check src/`)
|
- [ ] Linting passes (`npx eslint src/`, `npx prettier --check src/`)
|
||||||
- [ ] Run `/speckit.analyze` to verify consistency
|
- [ ] Run `/speckit.analyze` to verify consistency
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ export default function ReportSearchBar({
|
|||||||
value={query}
|
value={query}
|
||||||
onInput={handleInput}
|
onInput={handleInput}
|
||||||
onKeyDown={handleKeyDown}
|
onKeyDown={handleKeyDown}
|
||||||
className="flex-1 bg-transparent text-xs text-text/80 outline-none"
|
className="flex-1 bg-transparent text-xs text-text/80 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-info"
|
||||||
placeholder="Search test names, headers, or analysis"
|
placeholder="Search test names, headers, or analysis"
|
||||||
data-testid="report-search-input"
|
data-testid="report-search-input"
|
||||||
aria-label="Search report results"
|
aria-label="Search report results"
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ export default function TestResultCard({ result, highlightQuery = "" }: TestResu
|
|||||||
aria-controls={detailsId}
|
aria-controls={detailsId}
|
||||||
onClick={toggle}
|
onClick={toggle}
|
||||||
onKeyDown={handleKeyDown}
|
onKeyDown={handleKeyDown}
|
||||||
className="flex w-full items-center justify-between gap-4 text-left"
|
className="flex w-full items-center justify-between gap-4 text-left focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-info"
|
||||||
>
|
>
|
||||||
<div className="flex flex-col">
|
<div className="flex flex-col">
|
||||||
<span className="text-sm font-semibold text-text/90">
|
<span className="text-sm font-semibold text-text/90">
|
||||||
|
|||||||
Reference in New Issue
Block a user