fix(a11y): aria-controls and role fixes

This commit is contained in:
Jacky Zhao committed 2025-08-03 22:44:35 -07:00
1 parent 91059843ae
commit 53d6e18e81
3 files changed
+14 -6

No files matched your search

+2 -2
View File
@@ -12,9 +12,9 @@ const OverflowList = ({
)
}
let numExplorers = 0
let numLists = 0
export default () => {
const id = `list-${numExplorers++}`
const id = `list-${numLists++}`
return {
OverflowList: (props: JSX.HTMLAttributes<HTMLUListElement>) => (