I am trying to create a custom slicer that supports keyboard navigation.
I have come across the supportsKeyboardFocus
property in capabilities.json, and I see that this changes the visual
HTML element to look like the built in slicer which does support keyboard navigation (removes aria-hidden="true"
and adds keyboard-shortcuts="ctrl-ArrowRight scoped"
) but am still unable to get keyboard focus inside a simple custom visual. Are there any working examples of a custom visual that supports keyboard navigation?