From cdb3a8b1c2a1d00c363e2fdb4cc1840469ab6418 Mon Sep 17 00:00:00 2001 From: Andi Pieper Date: Thu, 31 Oct 2024 14:22:51 +0100 Subject: [PATCH 1/3] Fix macros on kitchensink page --- files/en-us/mdn/kitchensink/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/en-us/mdn/kitchensink/index.md b/files/en-us/mdn/kitchensink/index.md index b3a707daf503b7a..44a9d78a0e8f3f2 100644 --- a/files/en-us/mdn/kitchensink/index.md +++ b/files/en-us/mdn/kitchensink/index.md @@ -303,13 +303,13 @@ this.color("blue"); {{EmbedLiveSample('Rect_code', '700', '300') }} -{{APIRef("Bluetooth API")}}{{SeeCompatTable}} +{{APIRef("Web_Bluetooth_API")}}{{SeeCompatTable}} {{WebExtAPIRef("tabs.mutedInfo")}} ### Obsolete CSSOM interfaces {{deprecated_inline}} -{{InheritanceDiagram}} +{{InheritanceDiagram("WheelEvent")}} {{EmbedGHLiveSample("web-tech-games/index.html", '100%', 820)}} From 851a5e34e139caddb26b9c406f1b2acc411eed0e Mon Sep 17 00:00:00 2001 From: Andi Pieper Date: Thu, 31 Oct 2024 18:06:30 +0100 Subject: [PATCH 2/3] content fixes --- files/en-us/learn/server-side/django/introduction/index.md | 2 +- .../en-us/learn/server-side/first_steps/web_frameworks/index.md | 2 +- .../client-side_javascript_frameworks/introduction/index.md | 2 +- files/en-us/mdn/kitchensink/index.md | 2 +- .../writing_guidelines/page_structures/macros/other/index.md | 2 +- files/en-us/mdn/writing_guidelines/writing_style_guide/index.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/files/en-us/learn/server-side/django/introduction/index.md b/files/en-us/learn/server-side/django/introduction/index.md index 26c050627ce5212..f46c8b8e31e47cc 100644 --- a/files/en-us/learn/server-side/django/introduction/index.md +++ b/files/en-us/learn/server-side/django/introduction/index.md @@ -220,7 +220,7 @@ The code snippet shows what the HTML template called by the `render()` function {% if youngest_teams %} {% else %} diff --git a/files/en-us/learn/server-side/first_steps/web_frameworks/index.md b/files/en-us/learn/server-side/first_steps/web_frameworks/index.md index aa8417d6aff0385..37c9401cd1c305f 100644 --- a/files/en-us/learn/server-side/first_steps/web_frameworks/index.md +++ b/files/en-us/learn/server-side/first_steps/web_frameworks/index.md @@ -158,7 +158,7 @@ The code snippet below shows how this works. Continuing the "youngest team" exam {% if youngest_teams %} {% else %} diff --git a/files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/introduction/index.md b/files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/introduction/index.md index 98b04b8a21d170e..c0d21f7abd84e67 100644 --- a/files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/introduction/index.md +++ b/files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/introduction/index.md @@ -171,7 +171,7 @@ The vanilla JavaScript approach to building out new DOM elements in repetition w ```html diff --git a/files/en-us/mdn/kitchensink/index.md b/files/en-us/mdn/kitchensink/index.md index 44a9d78a0e8f3f2..aff58c8eb32699b 100644 --- a/files/en-us/mdn/kitchensink/index.md +++ b/files/en-us/mdn/kitchensink/index.md @@ -303,7 +303,7 @@ this.color("blue"); {{EmbedLiveSample('Rect_code', '700', '300') }} -{{APIRef("Web_Bluetooth_API")}}{{SeeCompatTable}} +{{SeeCompatTable}} {{WebExtAPIRef("tabs.mutedInfo")}} diff --git a/files/en-us/mdn/writing_guidelines/page_structures/macros/other/index.md b/files/en-us/mdn/writing_guidelines/page_structures/macros/other/index.md index a230739d73c5a69..295615a3649788b 100644 --- a/files/en-us/mdn/writing_guidelines/page_structures/macros/other/index.md +++ b/files/en-us/mdn/writing_guidelines/page_structures/macros/other/index.md @@ -12,7 +12,7 @@ In contrast to the macros listed in [Commonly-used macros](/en-US/docs/MDN/Writi This macro is used only with particular contexts, such as a specific API reference. -- [`RFC`](https://github.com/mdn/yari/blob/main/kumascript/macros/RFC.ejs) creates a link to the specified RFC, given its number. The syntax is: `\{\{RFC(number)\}\}`. For example, `\{\{RFC(2616)\}\}` becomes {{ RFC(2616) }}. +- [`RFC`](https://github.com/mdn/yari/blob/main/kumascript/macros/RFC.ejs) creates a link to the specified RFC, given its number. The syntax is: `\{{RFC(number)}}`. For example, `\{{RFC(2616)}}` becomes {{ RFC(2616) }}. ### Landing page components diff --git a/files/en-us/mdn/writing_guidelines/writing_style_guide/index.md b/files/en-us/mdn/writing_guidelines/writing_style_guide/index.md index 8dfeab4ea0e2a1f..ed23d72fa11a4ea 100644 --- a/files/en-us/mdn/writing_guidelines/writing_style_guide/index.md +++ b/files/en-us/mdn/writing_guidelines/writing_style_guide/index.md @@ -393,7 +393,7 @@ These are our recommendations for using certain technical terms: On MDN, you can optionally specify the HTML element in the [`HTMLElement` macro](/en-US/docs/MDN/Writing_guidelines/Page_structures/Macros/Commonly_used_macros#linking_to_pages_in_references), which will style the element, add the angle brackets "<>", as well as add a link to its reference page. - **Using backticks**: `` - - **Using the macro**: {{HTMLElement("span")}} (source in markdown: \\{{HTMLElement("span")\}}) + - **Using the macro**: {{HTMLElement("span")}} (source in markdown: `\{{HTMLElement("span")}}`) - **Parameters vs. arguments**: The preferred term on MDN Web Docs is **parameters**. Please avoid the term "arguments" for consistency whenever possible. From 043f2fb5b08c85dc06748e28dcc31d4d93e30243 Mon Sep 17 00:00:00 2001 From: Andi Pieper Date: Fri, 1 Nov 2024 17:49:27 +0100 Subject: [PATCH 3/3] small content issues for rari/yari parity --- files/en-us/web/accessibility/aria/aria_live_regions/index.md | 2 +- files/en-us/web/accessibility/aria/roles/dialog_role/index.md | 2 -- .../web/accessibility/understanding_wcag/perceivable/index.md | 2 +- .../accessibility/understanding_wcag/understandable/index.md | 2 +- .../web/security/practical_implementation_guides/tls/index.md | 4 ++-- 5 files changed, 5 insertions(+), 7 deletions(-) diff --git a/files/en-us/web/accessibility/aria/aria_live_regions/index.md b/files/en-us/web/accessibility/aria/aria_live_regions/index.md index 77203bcb2c2ebe1..a0ecb38c375ecab 100644 --- a/files/en-us/web/accessibility/aria/aria_live_regions/index.md +++ b/files/en-us/web/accessibility/aria/aria_live_regions/index.md @@ -142,7 +142,7 @@ Elements with the following [`role="…"`](/en-US/docs/Web/Accessibility/ARIA/Ro alert - Error or warning message that flashes on the screen. Alerts are particularly important for client side validation notices to users. Alert Example. + Error or warning message that flashes on the screen. Alerts are particularly important for client side validation notices to users. Alert Example. To maximize compatibility, some people recommend adding a redundant aria-live="assertive" when using this role. However, adding both aria-live and role="alert" causes double speaking issues in VoiceOver on iOS. diff --git a/files/en-us/web/accessibility/aria/roles/dialog_role/index.md b/files/en-us/web/accessibility/aria/roles/dialog_role/index.md index a7acbfd5088c80f..d0ea56f4f08c10a 100644 --- a/files/en-us/web/accessibility/aria/roles/dialog_role/index.md +++ b/files/en-us/web/accessibility/aria/roles/dialog_role/index.md @@ -137,8 +137,6 @@ When the dialog is correctly labeled and focus is moved to an element (often an {{Specifications}} -Coming soon - ## See also - [ARIA: alertdialog role](/en-US/docs/Web/Accessibility/ARIA/Roles/alertdialog_role) diff --git a/files/en-us/web/accessibility/understanding_wcag/perceivable/index.md b/files/en-us/web/accessibility/understanding_wcag/perceivable/index.md index 5d3ecc69422539c..aca46881cd13bec 100644 --- a/files/en-us/web/accessibility/understanding_wcag/perceivable/index.md +++ b/files/en-us/web/accessibility/understanding_wcag/perceivable/index.md @@ -288,7 +288,7 @@ This guideline refers to the ability of content to be consumed by users in multi button that can be activated by keyboard or other means. -
+

Note: Conveying instructions solely by color is related, but covered in a different guideline — 1.4.1. diff --git a/files/en-us/web/accessibility/understanding_wcag/understandable/index.md b/files/en-us/web/accessibility/understanding_wcag/understandable/index.md index 270a4eec1d7a27d..f917d064f44d951 100644 --- a/files/en-us/web/accessibility/understanding_wcag/understandable/index.md +++ b/files/en-us/web/accessibility/understanding_wcag/understandable/index.md @@ -330,7 +330,7 @@ This guideline centers around helping users enter correct information when requi help the user correct their inputs. For screen reader users, you can use aria live regions to alert the user to a change on the page.

-
+

Note: Server-side validation should always be used alongside client-side validation. Client-side validation is too diff --git a/files/en-us/web/security/practical_implementation_guides/tls/index.md b/files/en-us/web/security/practical_implementation_guides/tls/index.md index 08ba4682b8aec35..29e224676c6b400 100644 --- a/files/en-us/web/security/practical_implementation_guides/tls/index.md +++ b/files/en-us/web/security/practical_implementation_guides/tls/index.md @@ -68,8 +68,8 @@ APIs or websites not intended for public access should entirely disable the use To fix the "different hosts" problem: -1. First, redirect from http://example.com/ to https://example.com/. -2. Next, redirect from https://example.com/ to https://example.org/. +1. First, redirect from http\://example.com/ to https\://example.com/. +2. Next, redirect from https\://example.com/ to https\://example.org/. ### Examples