I have a simple pie chart that is rendered using the svg and its sub elements. My intent is to make each wedge of the pie chart to have keyboard focus. This is commonly done by simply adding a tabindex="0" attribute to the targeted element.
set pie slices to be focusable:
d3.selectAll('.nv-slice > path').attr("tabindex", "0");
If you try "tabbing" to the pie chart using Chrome, it works how I expect it.
The problem is that the pie chart will not get focus in IE or Firefox. Any idea why that is? How can I make these pie chart wedges have focus? If there is no way to author this, perhaps there is a workaround? The endgoal here is to find a solution where I can use a key event to trigger a tooltip.