Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(options-list): made menu options accessible #432

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions src/OptionList/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@
);
});

const messages = activeValueCells.join(" / ")

Check notice

Code scanning / CodeQL

Semicolon insertion Note

Avoid automated semicolon insertion (96% of all statements in
the enclosing function
have an explicit semicolon).

// >>>>> Render
return (
<CacheContent open={open}>
Expand All @@ -234,6 +236,22 @@
>
{columnNodes}
</div>
<div
aria-live="polite"
style={{
zIndex: 9999,
border: 0,
clip: 'rect(1px, 1px, 1px, 1px)',
height: 1,
width: 1,
position: 'absolute',
overflow: 'hidden',
padding: 0,
whiteSpace: 'nowrap',
}}
>
{messages}
</div>
</CacheContent>
);
});
Expand Down
Loading