diff --git a/schema/div-actionable.json b/schema/div-actionable.json index 9449e5d50..b0991966b 100644 --- a/schema/div-actionable.json +++ b/schema/div-actionable.json @@ -88,6 +88,12 @@ "ios", "web" ] + }, + "capture_focus_on_action": { + "type": "boolean", + "default_value": "true", + "$description": "translations.json#/div_actionable_capture_focus_on_action", + "platforms": [] } } } diff --git a/schema/div-base.json b/schema/div-base.json index a7474cf55..39133a60a 100644 --- a/schema/div-base.json +++ b/schema/div-base.json @@ -269,12 +269,6 @@ "unsupported_platforms": { "web": "No need for reuse identifier" } - }, - "capture_focus_on_action": { - "type": "boolean", - "default_value": "true", - "$description": "translations.json#/div_base_capture_focus_on_action", - "platforms": [] } } } diff --git a/schema/translations.json b/schema/translations.json index a07cfc0f1..a54e4831e 100644 --- a/schema/translations.json +++ b/schema/translations.json @@ -331,6 +331,10 @@ "en": "Multiple actions when clicking on an element.", "ru": "Несколько действий при нажатии на элемент." }, + "div_actionable_capture_focus_on_action": { + "en": "If the value is:
  • `true` - when the element action is activated, the focus will be moved to that element. That means that the accessibility focus will be moved and the virtual keyboard will be hidden, unless the target element implies its presence (e.g. `input`).
  • `false` - when you click on an element, the focus will remain on the currently focused element.
  • ", + "ru": "Если значение:
  • `true` — при активации экшена элемента фокус будет перенесён на него. Это означает, что фокус режима доступности будет перенесён, а виртуальная клавиатура скрыта, за исключением случаев, когда целевой элемент предполагает её наличие (например, `input`).
  • `false` — при нажатии на элемент фокус останется на текущем сфокусированном элементе.
  • " + }, "div_actionable_doubletap_actions": { "en": "Action when double-clicking on an element.", "ru": "Действие при двойном нажатии на элемент." @@ -515,10 +519,6 @@ "en": "Element stroke.", "ru": "Рамка элемента." }, - "div_base_capture_focus_on_action": { - "en": "If the value is:
  • `true` - when the element action is activated, the focus will be moved to that element. That means that the accessibility focus will be moved and the virtual keyboard will be hidden, unless the target element implies its presence (e.g. `input`).
  • `false` - when you click on an element, the focus will remain on the currently focused element.
  • ", - "ru": "Если значение:
  • `true` — при активации экшена элемента фокус будет перенесён на него. Это означает, что фокус режима доступности будет перенесён, а виртуальная клавиатура скрыта, за исключением случаев, когда целевой элемент предполагает её наличие (например, `input`).
  • `false` — при нажатии на элемент фокус останется на текущем сфокусированном элементе.
  • " - }, "div_base_column_span": { "en": "Merges cells in a column of the [grid](div-grid.md) element.", "ru": "Объединяет ячейки в столбце элемента [grid](div-grid.md)."