Skip to content

Commit a074ed2

Browse files
Update article.md
1 parent 2b34867 commit a074ed2

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

2-ui/4-forms-controls/2-focus-blur/article.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,15 @@ The list varies a bit between browsers, but one thing is always correct: `focus/
126126

127127
عناصری که با `tabindex` تطبیق پیدا نمی‌کنند، به ترتیب document source (به ترتیب پیش‌فرض) تغییر می‌کنند.
128128

129-
There are two special values:
129+
دو مقدار استثنا وجود دارند:‌
130130

131-
- `tabindex="0"` puts an element among those without `tabindex`. That is, when we switch elements, elements with `tabindex=0` go after elements with `tabindex ≥ 1`.
131+
- مقدار `tabindex="0"` یک element را میان عناصری که `tabindex` ندارند قرار می‌دهد. یعنی،‌ وقتی elementها را تغییر می‌دهیم، elementهایی با `tabindex=0` بعد از elementهایی با `tabindex ≥ 1` می‌آیند.
132132

133-
Usually it's used to make an element focusable, but keep the default switching order. To make an element a part of the form on par with `<input>`.
133+
معمولا برای focusable کردن یک element استفاده می‌شود، اما ترتیب switching پیش‌فرض را حفظ کنید. برای اینکه یک element به صورت همتراز با `<input>` باشد.
134134

135-
- `tabindex="-1"` allows only programmatic focusing on an element. The `key:Tab` key ignores such elements, but method `elem.focus()` works.
135+
- مقدار `tabindex="-1"` فقط امکان programmatic focusing روی یک element را فراهم می‌کند. `key:Tab` همچین کلیدهایی را نادیده می‌گیرد اما `elem.focus()` کار می‌کند.
136136

137-
For instance, here's a list. Click the first item and press `key:Tab`:
137+
برای مثال، اینجا یک لیست داریم. روی اولین item کلیک کنید و `key:Tab` را فشار دهید.
138138

139139
```html autorun no-beautify
140140
Click the first item and press Tab. Keep track of the order. Please note that many subsequent Tabs can move the focus out of the iframe in the example.

0 commit comments

Comments
 (0)