From c13137a216aeb2758f2c35ad61c95a861c932b76 Mon Sep 17 00:00:00 2001 From: Rafael Pedicini Date: Wed, 9 Dec 2020 12:04:29 -0500 Subject: [PATCH] Update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6c90736..b808ece 100644 --- a/README.md +++ b/README.md @@ -132,4 +132,4 @@ To recreate this `react-router-hash-link` does the following: - 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. - For focusable elements, it calls `element.focus()` and leaves focus on the target element. -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. +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.