Merge pull request #2585 from Violet-Bora-Lee/patch-1

Fix grammar and wrong information
This commit is contained in:
Ilya Kantor 2021-05-13 13:05:39 +03:00 committed by GitHub
commit 055cab1ec4
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: