Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以使用 TAB 导航 D3 可折叠树?因此,对每个节点进行制表符并按 Enter 以展开。只是考虑可访问性。
目前 TAB 只是突出显示画布。
您需要手动添加此功能。也就是说,为 TAB 创建一个事件侦听器,并在其中将特定节点标记为“活动”。类似于 Enter 展开。因此,您的问题的答案是“是”,但这并不完全简单。