Support for Keyboard shortcuts in custom contextual tab.

Support for Keyboard shortcuts in custom contextual tab.
0

Upvotes

Upvote

 Aug 09 2022
0 Comments 
New

Picking up from https://docs.microsoft.com/en-us/office/dev/add-ins/design/contextual-tabs

Currently, when we press ALT on the keyboard and move to the custom context tab, we see that the buttons within the context tab are assigned shortcuts numbered from 1 to 9.

It would be helpful if user defined keyboard shortcuts can be assigned to each button.

I would suggest having a key in the JSON structure passed to Office.ribbon.requestCreateControls API.

Currently, each control has the following attributes, type, id, actionId, enabled, label, superTip and icon. we can add another attribute for each control which defines the shortcut key.

Is this possible via any other method?