From 05564d56aa54eb11cbdc3684e1b4a843a3b9196c Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Mon, 18 Oct 2021 20:28:37 +0300 Subject: [RU] Fix live samples (#2767) --- files/ru/learn/forms/how_to_structure_a_web_form/index.html | 2 +- files/ru/learn/forms/sending_forms_through_javascript/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'files/ru/learn/forms') diff --git a/files/ru/learn/forms/how_to_structure_a_web_form/index.html b/files/ru/learn/forms/how_to_structure_a_web_form/index.html index 9cad80d3f5..35b2bcd2c4 100644 --- a/files/ru/learn/forms/how_to_structure_a_web_form/index.html +++ b/files/ru/learn/forms/how_to_structure_a_web_form/index.html @@ -149,7 +149,7 @@ original_slug: Learn/HTML/Forms/How_to_structure_an_HTML_form <input id="username" type="text" name="username"> </div> -

{{EmbedLiveSample("Multiple_labels", 120, 120)}}

+

{{EmbedLiveSample("Несколько_лейблов", 120, 120)}}

Параграф на первой строке примера описывает правило для обязательных элементов. Вначале необходимо убедиться, что вспомогательные технологии, такие как программы чтения с экрана, отображают или озвучивают их пользователю, прежде чем он найдёт требуемый элемент. Таким образом они будут знать, что означает звёздочка. Программа чтения с экрана будет произносить звёздочку как «звёздочку» или «обязательно», в зависимости от настроек программы чтения с экрана — в любом случае, первый абзац даёт понимание того, что будет означать звёздочка далее в форме.

diff --git a/files/ru/learn/forms/sending_forms_through_javascript/index.html b/files/ru/learn/forms/sending_forms_through_javascript/index.html index de31f823d8..fb58b4f06f 100644 --- a/files/ru/learn/forms/sending_forms_through_javascript/index.html +++ b/files/ru/learn/forms/sending_forms_through_javascript/index.html @@ -103,7 +103,7 @@ btn.addEventListener( 'click', function() {

Это результат:

-

{{EmbedLiveSample("Building_an_XMLHttpRequest_manually", "100%", 50)}}

+

{{EmbedLiveSample("Создание_XMLHttpRequest_вручную", "100%", 50)}}

Note: This use of {{domxref("XMLHttpRequest")}} is subject to the {{glossary('same-origin policy')}} if you want to send data to a third party web site. For cross-origin requests, you'll need CORS and HTTP access control.

-- cgit v1.2.3-54-g00ecf