From 500f444d23a7a758da229ebe6b9691cc5d4fe731 Mon Sep 17 00:00:00 2001 From: SphinxKnight Date: Wed, 16 Mar 2022 17:52:18 +0100 Subject: Fix #4269 - Removes empty/special characters (#4270) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Remove ufeff * Remove u2064 * Remove u2062 * Replace u202f followed by : with  : * Replace u202f next to « or » with   and « or » * Replace u202f followed by ; with  ; * Replace u202f followed by ! with   * Replace u202f followed by ? with  ? * Replace remaining u202f with classical space * Replace u200b surrounded by space with classical space * Replace u200b surrounded by space with classical space - again (repeated) * Remove remaining u200b * Remove u200a * Replace u2009 with   * Remove u00ad * Replace u00a0 followed by : ! or ? with   and punctuation * Replace u00a0 surrounded « or » with   and punctuation * Replace u00a0 followed by whitespaces * Replace u00a0 preceded by whitespaces * Replace u00a0 followed by a newline with a newline * Replace u00a0 followed by a newline with a newline - Take2 * Replace u00a0 followed by a ;   and punctuation * Remove u00a0 followed by , * Remove u00a0 in indentation spaces with \n([ ]*)([\u00a0])([ ]*) * Manual replacement of ([\u00a0])([ ]+) * Replace remaining ([\u00a0]+) by a space * cleaning empty elements * remove ufe0f * Remove u00a0 and u202f after merging against updated main * remove double whitespace using (\w)( )(\w) --- .../perceivable/color_contrast/index.md | 2 +- .../understanding_wcag/perceivable/index.md | 65 +++++++++++----------- 2 files changed, 33 insertions(+), 34 deletions(-) (limited to 'files/fr/web/accessibility/understanding_wcag/perceivable') diff --git a/files/fr/web/accessibility/understanding_wcag/perceivable/color_contrast/index.md b/files/fr/web/accessibility/understanding_wcag/perceivable/color_contrast/index.md index 819174941c..fd481ec1ab 100644 --- a/files/fr/web/accessibility/understanding_wcag/perceivable/color_contrast/index.md +++ b/files/fr/web/accessibility/understanding_wcag/perceivable/color_contrast/index.md @@ -101,7 +101,7 @@ div { } .mauvais { -  background-color: #400064; + background-color: #400064; } ``` diff --git a/files/fr/web/accessibility/understanding_wcag/perceivable/index.md b/files/fr/web/accessibility/understanding_wcag/perceivable/index.md index 2802c59a02..f1ce8f89f6 100644 --- a/files/fr/web/accessibility/understanding_wcag/perceivable/index.md +++ b/files/fr/web/accessibility/understanding_wcag/perceivable/index.md @@ -16,7 +16,7 @@ translation_of: Web/Accessibility/Understanding_WCAG/Perceivable --- This article provides practical advice on how to write your web content so that it conforms to the success criteria outlined in the **Perceivable** principle of the Web Content Accessibility Guidelines (WCAG) 2.0 and 2.1. Perceivable states that users must be able to perceive it in some way, using one or more of their senses. -> **Note :** To read the W3C definitions for Perceivable and its guidelines and success criteria, see [Principle 1: Perceivable - Information and user interface components must be presentable to users in ways they can perceive.](https://www.w3.org/TR/WCAG21/#perceivable) +> **Note :** To read the W3C definitions for Perceivable and its guidelines and success criteria, see [Principle 1: Perceivable - Information and user interface components must be presentable to users in ways they can perceive.](https://www.w3.org/TR/WCAG21/#perceivable) ## Guideline 1.1 — Providing text alternatives for non-text content @@ -32,7 +32,7 @@ The key here is that text can be converted to other forms people with disabiliti - 1.1.1 Provide text equivalents  (A) + 1.1.1 Provide text equivalents (A) All images that convey meaningful content should be given suitable alternative text. @@ -70,7 +70,7 @@ The key here is that text can be converted to other forms people with disabiliti

- See Text alternatives for static caption options, and @@ -111,7 +111,7 @@ The key here is that text can be converted to other forms people with disabiliti Decorative images should be implemented using CSS background images (see Backgrounds).  If you have to include an image via an + >). If you have to include an image via an {{htmlelement("img")}} element, give it a blank alt (alt=""), otherwise screenreaders may try to read out the filepath, etc. @@ -150,7 +150,7 @@ Time-based media refers to multimedia with a duration, i.e. audio and video. Als video-only media (i.e. silent video). - See Audio transcripts for transcript information. No audio description tutorial available as @@ -193,7 +193,7 @@ Time-based media refers to multimedia with a duration, i.e. audio and video. Als full content from the audio alone. - See Audio transcripts for transcript information. No audio description tutorial available as @@ -206,7 +206,7 @@ Time-based media refers to multimedia with a duration, i.e. audio and video. Als You should provide synchronized captions for all live multimedia that contains audio (e.g. video conferences, live audio broadcasts.) -   + @@ -217,7 +217,7 @@ Time-based media refers to multimedia with a duration, i.e. audio and video. Als where the existing audio does not convey the full meaning expressed by the video. -   + @@ -227,7 +227,7 @@ Time-based media refers to multimedia with a duration, i.e. audio and video. Als An equivalent sign language video should be provided for any prerecorded content containing audio. -   + @@ -240,7 +240,7 @@ Time-based media refers to multimedia with a duration, i.e. audio and video. Als should be provided that includes inserted pauses (and audio descriptions). -   + @@ -253,7 +253,7 @@ Time-based media refers to multimedia with a duration, i.e. audio and video. Als content. - See Audio transcripts for transcript information. @@ -268,7 +268,7 @@ Time-based media refers to multimedia with a duration, i.e. audio and video. Als the content. - See Audio transcripts for transcript information. @@ -294,7 +294,7 @@ This guideline refers to the ability of content to be consumed by users in multi 1.3.1 Info and relationships (A)

- Any content structure — or visual relationship made between content —  + Any content structure — or visual relationship made between content — can also be determined programmatically, or be inferred from text description. The main situations in which this is relevant are:

@@ -313,7 +313,7 @@ This guideline refers to the ability of content to be consumed by users in multi inferred even if you can't see the image.
  • - Lists — if the order of list items is important, and ordered list + Lists — if the order of list items is important, and ordered list should be used ({{htmlelement("ol")}}).
  • @@ -390,7 +390,7 @@ This guideline refers to the ability of content to be consumed by users in multi

    -   + @@ -410,26 +410,25 @@ This guideline refers to the ability of content to be consumed by users in multi

    Understanding Orientation  + >

    - 1.3.5 Identify Input Purpose (AA) added in 2.1 -

     

    Follow the list of 53 input fields - to programmatically identify the purpose of a field.    + to programmatically identify the purpose of a field.

    @@ -441,7 +440,7 @@ This guideline refers to the ability of content to be consumed by users in multi - 1.3.6 Identify Purpose (AAA) added in 2.1 -   + 1.4.5 Images of text (AA) @@ -556,7 +555,7 @@ This guideline relates to making sure core content is easy to discernable from b job. For example, if an image is mostly textual, it could be represented using text as well as images. -   + 1.4.6 Enhanced contrast (AAA) @@ -587,7 +586,7 @@ This guideline relates to making sure core content is easy to discernable from b Prerecorded audio recordings that primarily feature speech should have minimal background noise, so the content can be easily understood. -   + 1.4.8 Visual presentation (AAA) @@ -615,7 +614,7 @@ This guideline relates to making sure core content is easy to discernable from b -   + 1.4.9 Images of text (No Exception) (AAA) @@ -624,11 +623,11 @@ This guideline relates to making sure core content is easy to discernable from b decoration (i.e. it does not convey any content), or cannot be presented in any other way. -   + - 1.4.10 Reflow (AA) added in 2.1
  • No horizontal scrolling for right-to-left languages (like English) - or left-to-right languages (like Arabic)    + or left-to-right languages (like Arabic)
  • No vertical scrolling for top-to-bottom languages (like Japanese) @@ -657,7 +656,7 @@ This guideline relates to making sure core content is easy to discernable from b - 1.4.11 Non-Text Contrast(AA) added in 2.1 Minimum color contrast ratio of 3 to 1 for user interface components and - graphical objects.  + graphical objects. - 1.4.12 Text Spacing (AA) added in 2.1

    No loss of content or functionality occurs when the following styles - are applied:  + are applied: