Closed TheAce74 closed 6 months ago
I've been using this package for a while and I've got no complaints; it's awesome 🔥
Would it be possible to add a controls prop to the hamburgers? It would provide more context to screen readers about the actual item the hamburger is controlling.
I've been working around this with this hack:
useEffect(() => { const menu = document.querySelector(".hamburger-react"); menu.setAttribute("aria-controls", "primary-navigation"); }, []);
If it is possible, can I be assigned to the task?
@TheAce74 Yes! I assigned the task to you!
@cyntler Thank you, I'll start working on it as soon as I can
@cyntler I just added this enhancement, please refer to #71 for more info.
I've been using this package for a while and I've got no complaints; it's awesome 🔥
Would it be possible to add a controls prop to the hamburgers? It would provide more context to screen readers about the actual item the hamburger is controlling.
I've been working around this with this hack:
If it is possible, can I be assigned to the task?