Fix grammar and wrong information

This commit is contained in:
Bora Lee 2021-04-21 12:51:22 +09:00 committed by GitHub
parent 6ab384f251
commit 47b1ca8df8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,7 +104,7 @@ The best recipe is to be careful when using these events. If we want to track us
```
## Allow focusing on any element: tabindex
By default many elements do not support focusing.
By default, many elements do not support focusing.
The list varies a bit between browsers, but one thing is always correct: `focus/blur` support is guaranteed for elements that a visitor can interact with: `<button>`, `<input>`, `<select>`, `<a>` and so on.
@ -118,7 +118,7 @@ That is: if we have two elements, the first has `tabindex="1"`, and the second h
The switch order is: elements with `tabindex` from `1` and above go first (in the `tabindex` order), and then elements without `tabindex` (e.g. a regular `<input>`).
Elements with matching `tabindex` are switched in the document source order (the default order).
Elements without matching `tabindex` are switched in the document source order (the default order).
There are two special values: