From a51d2dea701288fda247a0c8dc6e0e572cdb1c7f Mon Sep 17 00:00:00 2001 From: George Kerscher Date: Tue, 31 Dec 2024 09:46:35 -0700 Subject: [PATCH 1/3] Moved variable description from additional info to rich content --- .../draft/techniques/epub-metadata/index.html | 32 ++++++++++--------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/a11y-meta-display-guide/2.0/draft/techniques/epub-metadata/index.html b/a11y-meta-display-guide/2.0/draft/techniques/epub-metadata/index.html index c4c212bf..611df7c5 100755 --- a/a11y-meta-display-guide/2.0/draft/techniques/epub-metadata/index.html +++ b/a11y-meta-display-guide/2.0/draft/techniques/epub-metadata/index.html @@ -711,6 +711,21 @@

Understanding the variables

If true it indicates that the accessibilityFeature="MathML" (Accessible math content as MathML) is present in the package document, otherwise if false it means that the metadata is not present.

This means that there is a positive indication that all mathematical content is presented using MathML and works with compatible assistive technology.

+
closed_captions
+
+

If true it indicates that the accessibilityFeature="closedCaptions" (Closed captions) is present in the package document, otherwise if false it means that the metadata is not present.

+

This means that the audio content of a video can be seen via closed captions that can be turned on or off by the viewer and which will be a separate file from the video itself.

+
+
open_captions
+
+

If true it indicates that the accessibilityFeature="openCaptions" (Open captions) is present in the package document, otherwise if false it means that the metadata is not present.

+

This means that the audio content of a video can be seen via open captions, which means they cannot be turned off and are always visible when the video plays.

+
+
transcript
+
+

If true it indicates that the accessibilityFeature="transcript" (transcript) is present in the package document, otherwise if false it means that the metadata is not present.

+

This means that a transcript of the audio content of the product is supplied with it.

+

Variables setup

    @@ -1016,16 +1031,7 @@
    Understanding the variables

    If true it indicates that the accessibilityFeature="braille" (Braille) is present in the package document, otherwise if false it means that the metadata is not present.

    This means that there is braille available within the publication.

    -
    closed_captions
    -
    -

    If true it indicates that the accessibilityFeature="closedCaptions" (Closed captions) is present in the package document, otherwise if false it means that the metadata is not present.

    -

    This means that the audio content of a video can be seen via closed captions that can be turned on or off by the viewer and which will be a separate file from the video itself.

    -
    -
    open_captions
    -
    -

    If true it indicates that the accessibilityFeature="openCaptions" (Open captions) is present in the package document, otherwise if false it means that the metadata is not present.

    -

    This means that the audio content of a video can be seen via open captions, which means they cannot be turned off and are always visible when the video plays.

    -
    +
    tactile_graphic

    If true it indicates that the accessibilityFeature="tactileGraphic" (tactile 2D graphic) is present in the package document, otherwise if false it means that the metadata is not present.

    @@ -1036,11 +1042,7 @@
    Understanding the variables

    If true it indicates that the accessibilityFeature="tactileObject" (tactile 3D object) is present in the package document, otherwise if false it means that the metadata is not present.

    This means that there is tactile 3D object(s) contained within this publication.

    -
    transcript
    -
    -

    If true it indicates that the accessibilityFeature="transcript" (transcript) is present in the package document, otherwise if false it means that the metadata is not present.

    -

    This means that a transcript of the audio content of the product is supplied with it.

    -
    +
    sign_language

    If true it indicates that the accessibilityFeature="signLanguage" (Sign language interpretation) is present in the package document, otherwise if false it means that the metadata is not present.

    From 268410df278ffa872803385a7fe239c137ee032f Mon Sep 17 00:00:00 2001 From: George Kerscher Date: Tue, 31 Dec 2024 13:33:17 -0700 Subject: [PATCH 2/3] Added closed_captions, open_captions, and transcriptive variables --- .../2.0/draft/techniques/epub-metadata/index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/a11y-meta-display-guide/2.0/draft/techniques/epub-metadata/index.html b/a11y-meta-display-guide/2.0/draft/techniques/epub-metadata/index.html index 611df7c5..b3bbc54b 100755 --- a/a11y-meta-display-guide/2.0/draft/techniques/epub-metadata/index.html +++ b/a11y-meta-display-guide/2.0/draft/techniques/epub-metadata/index.html @@ -747,6 +747,10 @@

    Variables setup

  1. LET math_formula_as_latex be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityFeature" and text()="latex"].
  2. LET math_formula_as_mathml be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityFeature" and text()="MathML"].
  3. + +
  4. LET closed_captions be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityFeature" and text()="closedCaptions"].
  5. +
  6. LET open_captions be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityFeature" and text()="openCaptions"].
  7. +
  8. LET transcript be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityFeature" and text()="transcript"].

Instructions

    From 9c71ae72e1fa51d46396c864f5c903bdcba407f3 Mon Sep 17 00:00:00 2001 From: George Kerscher Date: Tue, 31 Dec 2024 15:30:46 -0700 Subject: [PATCH 3/3] Removed the concanated string construct in additional information --- .../draft/techniques/epub-metadata/index.html | 55 +++++-------------- 1 file changed, 14 insertions(+), 41 deletions(-) diff --git a/a11y-meta-display-guide/2.0/draft/techniques/epub-metadata/index.html b/a11y-meta-display-guide/2.0/draft/techniques/epub-metadata/index.html index b3bbc54b..144c9212 100755 --- a/a11y-meta-display-guide/2.0/draft/techniques/epub-metadata/index.html +++ b/a11y-meta-display-guide/2.0/draft/techniques/epub-metadata/index.html @@ -1066,37 +1066,24 @@
    Variables setup
    Instructions
      -
    1. LET adaptation be an empty array.
    2. IF audio_descriptions: - THEN APPEND "audio descriptions" to adaptation. -
    3. + THEN display "Audio descriptions".
    4. IF braille: - THEN APPEND "braille" to adaptation. + THEN display "braille".
    5. IF tactile_graphic: - THEN APPEND "tactile graphic" to adaptation. + THEN display "Tactile graphic".
    6. IF tactile_object: - THEN APPEND "tactile 3D object" to adaptation. + THEN display "Tactile 3D object".
    7. IF sign_language: - THEN APPEND "sign language" to adaptation. -
    8. -
    9. IF adaptation is NOT empty: -
        -
      1. LET adaptation_string be the result of: - -
      2. -
      3. display adaptation_string.
      4. -
      + THEN display "Sign language".
    @@ -1166,52 +1153,38 @@
    Variables setup
    Instructions
      -
    1. LET clarity be an empty array.
    2. +
    3. IF aria: - THEN APPEND "aria" to clarity. + THEN display "ARIA".
    4. IF full_ruby_annotations: - THEN APPEND "full ruby annotations" to clarity. + THEN display "Full ruby annotations".
    5. IF text_to_speech_hinting: - THEN APPEND "text-to-speech hinting provided" to clarity. + THEN display "Text-to-speech hinting provided".
    6. IF high_contrast_between_foreground_and_background_audio: - THEN APPEND "high contrast between foreground and background audio" to clarity. + THEN display "High contrast between foreground and background audio" .
    7. IF high_contrast_between_text_and_background: - THEN APPEND "high contrast between text and background" to clarity. + THEN display "High contrast between foreground text and background".
    8. IF large_print: - THEN APPEND "large print" to clarity. + THEN display "Large print".
    9. IF page_break_markers: - THEN APPEND "page breaks" to clarity. + THEN display "Visible page breaks".
    10. IF ruby_annotations: - THEN APPEND "ruby annotations" to clarity. -
    11. - - -
    12. IF clarity is NOT empty: -
        -
      1. LET clarity_string be the result of: - -
      2. -
      3. display clarity_string.
      4. -
      -
    13. + THEN display "Some Ruby annotations".