telerik / kendo-react-layout

Kendo UI Layout for React
Other
2 stars 2 forks source link

ARIA compatible keyboard navigation #5

Open vladimirivanoviliev opened 8 years ago

vladimirivanoviliev commented 8 years ago

Implement build-in keyboard navigation. Possible approaches that we discussed are:

1) Using browser default behavior to implement the navigation, where the PanelBar items are focusable elements:

Pros:

Cons:

2) Using higher-order stateful component to handle the keyboard navigation, where the component root element is focusable (require review of exact implementation, example implementation here):

Pros:

Cons:

Related documentation:

rusev commented 8 years ago

You should rather call them high order components or simply components than wrappers if we are strict about the React naming conventions.

@rkonstantinov What do you think?