Skip to content

Commit ef5fc8f

Browse files
committed
fix(a11y): add ARIA dialog attributes to IndexingProgressModal
Added role='dialog', aria-modal='true', and aria-labelledby for screen reader accessibility.
1 parent a4c8e11 commit ef5fc8f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

frontend/src/components/IndexingProgressModal.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,13 @@ export function IndexingProgressModal({
117117
transition={{ type: 'spring', damping: 25, stiffness: 300 }}
118118
className="relative w-full max-w-lg mx-4 bg-[#0d0d14] border border-zinc-800 rounded-2xl shadow-2xl overflow-hidden"
119119
onClick={e => e.stopPropagation()}
120+
role="dialog"
121+
aria-modal="true"
122+
aria-labelledby="indexing-progress-title"
120123
>
121124
{/* Header */}
122125
<div className="flex items-center justify-between px-6 py-4 border-b border-zinc-800">
123-
<h3 className="text-lg font-semibold text-white">
126+
<h3 id="indexing-progress-title" className="text-lg font-semibold text-white">
124127
Indexing {repoName}
125128
</h3>
126129
<button

0 commit comments

Comments
 (0)