Open huayunh opened 1 year ago
This seems like it may be an issue with how we are using ListItem versus ListItemButton in the InfoListItem implementation. Refer to the MUI drawer examples where keyboard navigation is working for reference for how we may need to restructure this.
Describe the bug / expected behavior
Although we can use the tab key to navigate around different links in docit, we cannot use the space bar to select any drawer nav item. I expect hitting the space bar to trigger the corresponding onclick event, including:
What are the steps to reproduce?
Screenshots / Screen recording
The following screen recording is done using keyboard navigation only
https://user-images.githubusercontent.com/8997218/219145968-40dfaac1-e228-40c1-b236-a3dbc19621bf.mov
side note
Playing with the react dev doc, it appears that the Info List Item is not keyboard navigatable either