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
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -132,4 +132,4 @@ To recreate this `react-router-hash-link` does the following:
132
132
- For non-focusable elements, it calls `element.focus()` followed by `element.blur()` (using a temporary `tabindex` to ensure that the element can be focused programmatically) so that focus _moves_ to the target element but does not remain on it or trigger any style changes.
133
133
- For focusable elements, it calls `element.focus()` and leaves focus on the target element.
134
134
135
-
Note that you may find it useful to leave focus on non-interactive elements (by adding a `tabindex`) to augment the navigation action with a visual focus indicator.
135
+
Note that you may find it useful to leave focus on non-interactive elements (by adding a `tabindex` of `-1`) to augment the navigation action with a visual focus indicator.
0 commit comments