fix: react-doctor modal/dialog/dropzone a11y — 18 files to role+tabIndex+onKeyDown or dialog
This commit is contained in:
@@ -562,6 +562,9 @@ export default function HeroSection() {
|
||||
|
||||
{/* ─── SCROLL INDICATOR ────────────────────────────────────────────────── */}
|
||||
<div
|
||||
role="button"
|
||||
tabIndex={0}
|
||||
onKeyDown={(e) => { if (e.key === "Enter" || e.key === " ") scrollToContent(); }}
|
||||
className="scroll-indicator absolute bottom-12 left-1/2 -translate-x-1/2 flex flex-col items-center gap-4 cursor-pointer"
|
||||
onClick={scrollToContent}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user