Skip to content

Commit

Permalink
fix(docsearch): always use aria-expanded to true
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour committed Jun 4, 2020
1 parent 6ce9fa9 commit 262ddcb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/DocSearchModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,9 @@ export function DocSearchModal({
return (
<div
ref={containerRef}
{...getRootProps({})}
{...getRootProps({
'aria-expanded': true,
})}
className={[
'DocSearch-Container',
state.status === 'stalled' && 'DocSearch-Container--Stalled',
Expand Down

0 comments on commit 262ddcb

Please sign in to comment.