You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All components of the library should be "tabbable", so to be so we need to expose prop, which allow consumers to pass in an index that can be assigned to a tabindex prop, for example:
Please add capability to the following components to take a tabIndex that can added to the element within the DOM.
Button
CopyToClipboard
Details
FormDate
FormSelect
MultiSelect
Progress
Range
Table
The first tab index on a web page should typically be 0, 1, or -1.
A tab index of 0 means that the element should be focusable in the tab order of the page, but its order is defined by the order in which the elements appear in the document.
A tab index of 1 or greater means that the element should be focusable in the tab order of the page, and the element should be the next one to receive focus when the user tabs. The order is determined by the value of the tab index, with the lowest value being focused first.
A tab index of -1 means that the element should not be focusable in the tab order of the page, but it can receive focus through other means (e.g., by using the mouse, or by being the target of a programmatic focus action).
In general, it is best to use a tab index of 0 or -1 for most elements, and reserve a tab index of 1 or higher for elements that need to be focused first in the tab order (e.g., a search box or a call-to-action button). This helps to ensure that the tab order is logical and easy to navigate for users.
The default tab index for an element is 0, which means that the element should be focusable in the tab order of the page, but its order is defined by the order in which the elements appear in the document.
In general, it is best to use a tab index of 0 or -1 for most elements, and reserve a tab index of 1 or higher for elements that need to be focused first in the tab order (e.g., a search box or a call-to-action button). This helps to ensure that the tab order is logical and easy to navigate for users.
If an element does not have a tab index specified, it will be given the default tab index of 0. Therefore, if you do not want an element to be focusable in the tab order of the page, you should explicitly set its tab index to -1.
All components of the library should be "tabbable", so to be so we need to expose prop, which allow consumers to pass in an index that can be assigned to a
tabindex
prop, for example:Please add capability to the following components to take a
tabIndex
that can added to the element within the DOM.the default tab index should be 0
Please create your branch from release/0.6
git checkout release/0.6 git pull git checkout -b 'feature/tab-index'
The text was updated successfully, but these errors were encountered: