Capgemini / dcx-react-library

React Library UI/UX agnostic
https://main--6069a6f47f4b9f002171f8e1.chromatic.com
MIT License
107 stars 7 forks source link

fix: removing the default 0 tabIndex #641

Closed Ibabalola closed 2 months ago

Ibabalola commented 2 months ago

tabindex="0" means that the element should be focusable in sequential keyboard navigation, after any positive tabindex values. The focus navigation order of these elements is defined by their order in the document source.

We would like to ensure that all components are focus in their navigation order unless specified by the consumer.