Merge pull request #2585 from Violet-Bora-Lee/patch-1
Fix grammar and wrong information
This commit is contained in:
commit
055cab1ec4
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue