Skip to content

Commit 262ddcb

Browse files
fix(docsearch): always use aria-expanded to true
1 parent 6ce9fa9 commit 262ddcb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/DocSearchModal.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,9 @@ export function DocSearchModal({
307307
return (
308308
<div
309309
ref={containerRef}
310-
{...getRootProps({})}
310+
{...getRootProps({
311+
'aria-expanded': true,
312+
})}
311313
className={[
312314
'DocSearch-Container',
313315
state.status === 'stalled' && 'DocSearch-Container--Stalled',

0 commit comments

Comments
 (0)