From a1e463c81743a507039f7e241242bff2d94c25ec Mon Sep 17 00:00:00 2001 From: Gregorio Pellegirno Date: Thu, 5 Dec 2024 13:10:36 +0100 Subject: [PATCH 1/2] Refactor for ONIX hazards section Following the new structure of the principles --- .../draft/techniques/onix-metadata/index.html | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/a11y-meta-display-guide/2.0/draft/techniques/onix-metadata/index.html b/a11y-meta-display-guide/2.0/draft/techniques/onix-metadata/index.html index 60a1695e..a6c56e7e 100644 --- a/a11y-meta-display-guide/2.0/draft/techniques/onix-metadata/index.html +++ b/a11y-meta-display-guide/2.0/draft/techniques/onix-metadata/index.html @@ -865,28 +865,20 @@

Instructions

  • ELSE IF flashing_hazard OR motion_simulation_hazard OR sound_hazard: - THEN LET hazards be an empty array. + THEN
    1. IF flashing_hazard: - THEN APPEND "flashing" to hazards. + THEN display "Flashing content".
    2. IF motion_simulation_hazard: - THEN APPEND "motion simulation" to hazards. + THEN display "Motion simulation".
    3. IF sound_hazard: - THEN APPEND "sound" to hazards. -
    4. -
    5. LET hazards_string be the result of: -
        -
      • calling join array to comma list given hazards
      • -
      • uppercasing the first character
      • -
      • concatenating " hazards" to the end of the string IF (length of hazards) 1 ELSE concatenating " hazard" to the end of the string.
      • -
      + THEN display "Loud sounds".
    6. -
    7. display hazards_string.
  • From d6df01c8136598ea95c6f2dfc88147a5761c8aa7 Mon Sep 17 00:00:00 2001 From: Gregorio Pellegirno Date: Tue, 17 Dec 2024 16:08:58 +0100 Subject: [PATCH 2/2] Fixing full stop is in the last string --- .../2.0/draft/techniques/onix-metadata/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a11y-meta-display-guide/2.0/draft/techniques/onix-metadata/index.html b/a11y-meta-display-guide/2.0/draft/techniques/onix-metadata/index.html index a6c56e7e..e373bdff 100644 --- a/a11y-meta-display-guide/2.0/draft/techniques/onix-metadata/index.html +++ b/a11y-meta-display-guide/2.0/draft/techniques/onix-metadata/index.html @@ -886,7 +886,7 @@

    Instructions

    THEN display "The presence of hazards is unknown".
  • - ELSE display "No information about possible hazards is available.". + ELSE display "No information is available".

    This key information can be hidden if metadata is missing.