From 7aa04707d6ccbcaac149f47fcc39fcf9bcf7e035 Mon Sep 17 00:00:00 2001 From: George Kerscher Date: Sat, 28 Dec 2024 16:50:29 -0700 Subject: [PATCH 1/2] Made several spelling changes --- .../draft/techniques/onix-metadata/index.html | 92 +++++++++---------- 1 file changed, 46 insertions(+), 46 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 ada95e15..dff2c489 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 @@ -24,7 +24,7 @@ "name": "Gautier Chomel", "company": "EDRLab ", "companyURL": "https://www.edrlab.org", - "w3cid": 136660 + "w3cid": 136660 }, { "name": "Christopher Saynor", @@ -79,43 +79,43 @@

ONIX Metadata

- + - + - + - + - + - +

ONIX record examples

@@ -230,7 +230,7 @@

Join array to comma list

Techniques

- +

Visual adjustments

This technique relates to Visual adjustments key information.

@@ -267,7 +267,7 @@

Instructions

  • ELSE display "No information is available".
  • - +

    Supports nonvisual reading

    This technique relates to Supports nonvisual reading key information.

    @@ -337,7 +337,7 @@

    Instructions

  • ELSE display "May not be fully readable in read aloud or dynamic braille".
  • - +

    Conformance

    This technique relates to Conformance key information.

    @@ -410,7 +410,7 @@

    Understanding the variables

    This means that is present the URL of a compliance web page for detailed accessibility information. The web page should be maintained by an independent compliance scheme or testing organization. Note the web page may include information about specific national requirements or voluntary conformance reports.

    - +

    Variables setup

    1. LET onix be the result of calling preprocessing given onix_record_as_text.
    2. @@ -428,7 +428,7 @@

      Variables setup

    3. LET certification_date be the value of the node extracted from onix, using the xpath /ONIXMessage/Product/DescriptiveDetail/ProductFormFeature[ProductFormFeatureType = "09" and ProductFormFeatureValue = "91"]/ProductFormFeatureDescription.
    4. LET certifier_report be the value of the node extracted from onix, using the xpath /ONIXMessage/Product/DescriptiveDetail/ProductFormFeature[ProductFormFeatureType = "09" and ProductFormFeatureValue = "94"]/ProductFormFeatureDescription.
    - +

    Instructions

    1. @@ -527,7 +527,7 @@

      Instructions

    - +

    Prerecorded audio

    This technique relates to Pre-recorded audio key information.

    @@ -557,7 +557,7 @@

    Understanding the variables

  • code A305 of codelist 175 (Synchronised audio)
  • Otherwise, if false, it means that none of the above metadata is present.

    -

    This indicates that text-synchronised pre-recorded audio narration (natural or synthesised voice) is included for substantially all textual matter, including all alternative descriptions, e.g. via a SMIL media overlay.

    +

    This indicates that text-synchronised pre-recorded audio narration (natural or synthesized voice) is included for substantially all textual matter, including all alternative descriptions, e.g. via a SMIL media overlay.

    non_textual_content_audio
    @@ -567,9 +567,9 @@

    Understanding the variables

  • code 22 of codelist 81 (Additional audio content not part of main content);
  • Otherwise, if false, it means that none of the above metadata is present.

    -

    This indicates that pre-recorded audio content is included as part of the work. It can be Audio recording of a reading, performance or dramatization of part of the work or additional pre-recorded audio of any supplementary material such as full or partial reading, lecture, performance, dramatization, interview, background documentary or other audio content not included in the primary or unenhanced version

    +

    This indicates that pre-recorded audio content is included as part of the work. It can be Audio recording of a reading, performance or dramatization of part of the work or additional pre-recorded audio of any supplementary material such as full or partial reading, lecture, performance, dramatization, interview, background documentary or other audio content not included in the primary or un-enhanced version

    -
    non_textual_content_audio_in_video
    +
    non_textual_content_audio_in_video

    If true it indicates that one of the following codes is present in the ONIX record:

      @@ -591,12 +591,12 @@

      Variables setup

    • LET audiobook be the result of calling check for node on onix, /ONIXMessage/Product/DescriptiveDetail/DescriptiveDetail[PrimaryContentType = "81" or ProductContentType = "81"] .
    • LET all_content_audio be the result of calling check for node on onix, /ONIXMessage/Product/DescriptiveDetail/ProductFormFeature[ProductFormFeatureType = "09" and ProductFormFeatureValue = "39"].
    • LET all_content_pre_recorded be the result of calling check for node on onix, /ONIXMessage/Product/DescriptiveDetail/ProductFormFeature[ProductFormFeatureType = "09" and ProductFormFeatureValue = "51"].
    • -
    • LET synchronised_pre_recorded_audio be the result of calling check for node on onix, /ONIXMessage/Product/DescriptiveDetail/ProductFormFeature[ProductFormFeatureType = "09" and ProductFormFeatureValue = "20"] +
    • LET synchronised_pre_recorded_audio be the result of calling check for node on onix, /ONIXMessage/Product/DescriptiveDetail/ProductFormFeature[ProductFormFeatureType = "09" and ProductFormFeatureValue = "20"] AND calling check for node on onix, /ONIXMessage/Product/DescriptiveDetail/ProductFormDetail[text() = "A305"].
    • -
    • LET non_textual_content_audio be the result of calling check for node on onix, /ONIXMessage/Product/DescriptiveDetail/DescriptiveDetail[PrimaryContentType = "21" or ProductContentType = "22" or ProductContentType = "21" or ProductContentType = "22"] . +
    • LET non_textual_content_audio be the result of calling check for node on onix, /ONIXMessage/Product/DescriptiveDetail/DescriptiveDetail[PrimaryContentType = "21" or ProductContentType = "22" or ProductContentType = "21" or ProductContentType = "22"] .
    • -
    • LET non_textual_content_audio_in_video be the result of calling check for node on onix, /ONIXMessage/Product/DescriptiveDetail/DescriptiveDetail[PrimaryContentType = "06" or PrimaryContentType = "25" or PrimaryContentType = "26" or PrimaryContentType = "27" or PrimaryContentType = "28" or PrimaryContentType = "29" or PrimaryContentType = "30" or ProductContentType = "06" or ProductContentType = "25" or ProductContentType = "26" or ProductContentType = "27" or ProductContentType = "28" or ProductContentType = "29" or ProductContentType = "30"] . +
    • LET non_textual_content_audio_in_video be the result of calling check for node on onix, /ONIXMessage/Product/DescriptiveDetail/DescriptiveDetail[PrimaryContentType = "06" or PrimaryContentType = "25" or PrimaryContentType = "26" or PrimaryContentType = "27" or PrimaryContentType = "28" or PrimaryContentType = "29" or PrimaryContentType = "30" or ProductContentType = "06" or ProductContentType = "25" or ProductContentType = "26" or ProductContentType = "27" or ProductContentType = "28" or ProductContentType = "29" or ProductContentType = "30"] .
    • Instructions

      @@ -608,17 +608,17 @@

      Instructions

    • ELSE IF audiobook OR non_textual_content_audio OR non_textual_content_audio_in_video AND NOT all_content_pre_recorded: THEN display "Complementary audio and text". -
    • +
    • ELSE IF all_content_pre_recorded AND synchronised_pre_recorded_audio: THEN display "Prerecorded audio synchronized with text".
    • - ELSE either omit this key informtion if metadata is missing or display "No information is available". + ELSE either omit this key information if metadata is missing or display "No information is available".
    - + - +

    Rich content

    This technique relates to Rich content key information.

    @@ -691,7 +691,7 @@

    Understanding the variables

    charts_diagrams_as_non_graphical_data
    -

    If true it indicates that the code 16 of codelist 196 (Visualized data also available as non-graphical datas) is present in the ONIX record, otherwise if false it means that the metadata is not present.

    +

    If true it indicates that the code 16 of codelist 196 (Visualized data also available as non-graphical data) is present in the ONIX record, otherwise if false it means that the metadata is not present.

    This means that there is a positive indication that all data presented in a visual format (graph, chart, etc) has an alternative non-graphical presentation of the same data.

    full_alternative_textual_descriptions
    @@ -795,11 +795,11 @@

    Instructions

  • IF NOT (math_formula_as_mathml OR math_formula_as_latex OR (contains_math_formula AND short_textual_alternative_images) OR chemical_formula_as_mathml OR charts_diagrams_as_non_graphical_data OR full_alternative_textual_descriptions OR closed_captions OR open_captions OR transcript): - THEN either omit this key informtion if metadata is missing or display "No information is available". + THEN either omit this key information if metadata is missing or display "No information is available".
  • - +

    Hazards

    This technique relates to Hazards key information.

    @@ -893,7 +893,7 @@

    Instructions

    - +

    Accessibility summary

    This technique relates to Accessibility summary key information.

    @@ -989,11 +989,11 @@

    Instructions

    THEN display the content of accessibility_summary with language_accessibility_summary as language.
  • - ELSE either omit this key informtion if metadata is missing or display "No accessibility summary is available.". + ELSE either omit this key information if metadata is missing or display "No accessibility summary is available.".
  • - + - +

    Additional accessibility information

    This technique relates to Additional accessibility information key information.

    @@ -1048,7 +1048,7 @@
    Understanding the variables
    dyslexia_readability

    If true it indicates that the code 24 of codelist 196 (Dyslexia readability) is present in the ONIX record, otherwise if false it means that the metadata is not present.

    -

    This means that the product has been specifically adapted or has features specifically to improve readability for dyslexic readers, for example specialised font, character and/or line spacing, justification and paragraph spacing, coloring and other options provided specifically to improve readability for dyslexic readers.

    +

    This means that the product has been specifically adapted or has features specifically to improve readability for dyslexic readers, for example specialized font, character and/or line spacing, justification and paragraph spacing, coloring and other options provided specifically to improve readability for dyslexic readers.

    sign_language
    @@ -1056,14 +1056,14 @@
    Understanding the variables

    This means that a full signing of audio content of the product supplied with the video file.

    - +
    Variables setup
    1. LET onix be the result of calling preprocessing given onix_record_as_text.
    2. LET dyslexia_readability be the result of calling check for node on onix, /ONIXMessage/Product/DescriptiveDetail/ProductFormFeature[ProductFormFeatureType = "09" and ProductFormFeatureValue = "24"].
    3. LET sign_language be the result of calling check for node on onix, /ONIXMessage/Product/DescriptiveDetail[ProductFormDetail = "V213"].
    - +
    Instructions
    1. @@ -1076,7 +1076,7 @@
      Instructions
    - +

    Clarity

    This algorithm takes the onix_record_as_text argument: a UTF-8 string representing the ONIX record.

    @@ -1085,7 +1085,7 @@
    Understanding the variables
    text_to_speech_hinting

    If true it indicates that the code 21 of codelist 196 (Text-to-speech hinting provided) is present in the ONIX record, otherwise if false it means that the metadata is not present.

    -

    This means that text-to-speech has been optimised through provision of PLS lexicons, SSML or CSS Speech synthesis hints or other speech synthesis markup languages or hinting.

    +

    This means that text-to-speech has been optimized through provision of PLS lexicons, SSML or CSS Speech synthesis hints or other speech synthesis markup languages or hinting.

    color_not_sole_means_of_conveying_information
    @@ -1118,7 +1118,7 @@
    Understanding the variables

    This means that pre-recorded audiobook narration does not contain any background sounds, including music, sound effects, etc, though music and effects may be present if isolated from the speech (ie the sounds do not overlap).

    - +
    Variables setup
    1. LET onix be the result of calling preprocessing given onix_record_as_text.
    2. @@ -1130,7 +1130,7 @@
      Variables setup
    3. LET high_contrast_between_foreground_and_background_audio be the result of calling check for node on onix, /ONIXMessage/Product/DescriptiveDetail/ProductFormFeature[ProductFormFeatureType = "09" and ProductFormFeatureValue = "27"].
    4. LET without_background_sounds be the result of calling check for node on onix, /ONIXMessage/Product/DescriptiveDetail[ProductFormDetail = "A312"].
    - +
    Instructions
    1. From bc16305da3511a53f8f0e7b4963068f025399a6e Mon Sep 17 00:00:00 2001 From: George Kerscher Date: Sat, 28 Dec 2024 16:53:56 -0700 Subject: [PATCH 2/2] Made a few spelling changes --- .../draft/techniques/epub-metadata/index.html | 248 +++++++++--------- 1 file changed, 124 insertions(+), 124 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 df46e665..c4c0875a 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 @@ -68,51 +68,51 @@

      EPUB Accessibility Metadata

      - +

      This metadata as outlined in EPUB Accessibility 1.1 [[epub-a11y-11]], can be found in the EPUB package document [[EPUB-33]].

      - + - + - + - - + +

      EPUB Accessibility Metadata Examples

      EPUB accessibility metadata describing an EPUB

      -

      Here is an example of accessibility metadata embedded within the package document, +

      Here is an example of accessibility metadata embedded within the package document, which will be used as a reference point for the following examples on EPUB accessibility metadata: the results of the XPath shown are based on this example. @@ -131,7 +131,7 @@

      EPUB accessibility met

      - +

      Conventions for implementations

      The code conventions used in the provided code snippet follow a structure commonly found in programming languages like Python, Java, or C++. Here's an explanation of the conventions:

      @@ -152,7 +152,7 @@

      Conventions for implementations

      The code is written in a way that is intended to be easily readable and understandable even by non-coders.
      - +

      Common Functions

      In this section we define the functions common to all techniques, which are called by them during execution.

      @@ -160,11 +160,11 @@

      Common Functions

      Preprocessing

      Before working directly with the metadata we must read the metadata in the Package document (package document) inside the EPUB. This is a common starting point for all techniques that allows us to query the metadata directly.

      - + - +

      This algorithm takes the package_document_as_text argument: a UTF-8 string representing the Package document.

      To generate the internal representation, run the following steps:

        @@ -172,7 +172,7 @@

        Preprocessing

      1. Return package_document.
      - +

      Check for Node

      Many of the techniques rely on checking for the presence or absence of metadata in the metadata section of the Package document.

      @@ -213,7 +213,7 @@

      Join array to comma list

      - +

      Techniques

      @@ -241,11 +241,11 @@

      Understanding the variables

      Variables setup

      1. LET package_document be the result of calling preprocessing given package_document_as_text.
      2. - +
      3. LET all_textual_content_can_be_modified be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityFeature" and text()="displayTransformability"].
      4. LET is_fixed_layout be the result of calling check for node on package_document, /package/metadata/meta[@property="rendition:layout" and text()="pre-paginated"].
      5. - +

      Instructions

        @@ -260,7 +260,7 @@

        Instructions

      1. ELSE display "No information is available".
      - +

      Supports nonvisual reading

      This technique relates to Supports nonvisual reading key information.

      @@ -304,14 +304,14 @@

      Variables setup

    2. LET all_necessary_content_textual be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessModeSufficient" and text()="textual"].
    3. - LET non_textual_content_images be the result of calling check for node on + LET non_textual_content_images be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityFeature" and
      (text()="chartOnVisual" or text()="chemOnVisual" or
      text()="diagramOnVisual" or text()="mathOnVisual" or
      text()="musicOnVisual" or text()="textOnVisual")]
      .
    4. - +
    5. LET textual_alternative_images be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityFeature" and
      (text()="longDescription" or text()="alternativeText" or text()="describedMath")]
      . - +

    Instructions

    @@ -329,14 +329,14 @@

    Instructions

    - - + +

    Conformance

    This technique relates to Conformance key information.

    This algorithm takes the package_document_as_text argument: a UTF-8 string representing the Package document.

    - +

    Understanding the variables

    conformance_string
    @@ -354,7 +354,7 @@

    Understanding the variables

    certifier_credentials
    -

    Returns the description of a11y:certifierCredential (Compliance certification by (URL) or text) if present in the package document, otherwise if false it means that the metadata is not present.

    +

    Returns the description of a11y:certifierCredential (Compliance certification by (URL) or text) if present in the package document, otherwise if false it means that the metadata is not present.

    This means that the the URL of a web page belonging to an organization responsible for compliance testing and certification of the product is present – typically a ‘home page’ or a page describing the certification scheme itself.

    certification_date
    @@ -374,16 +374,16 @@

    Understanding the variables

    - +

    Variables setup

    1. LET package_document be the result of calling preprocessing given package_document_as_text.
    2. - +
    3. IF the result of calling check for node on package_document, /package/metadata/link[@rel="dcterms:conformsTo" and @href="http://www.idpf.org/epub/a11y/accessibility-20170105.html#wcag-a"] | /package/metadata/meta[@property="dcterms:conformsTo" and text() = "http://www.idpf.org/epub/a11y/accessibility-20170105.html#wcag-a"] : - THEN LET conformance_string = 'EPUB Accessibility 1.0 WCAG 2.0 Level A', + THEN LET conformance_string = 'EPUB Accessibility 1.0 WCAG 2.0 Level A', and LET wcag_level = 'A'.
    4. @@ -391,7 +391,7 @@

      Variables setup

    5. IF the result of calling check for node on package_document, /package/metadata/link[@rel="dcterms:conformsTo" and @href="http://www.idpf.org/epub/a11y/accessibility-20170105.html#wcag-aa"] | /package/metadata/meta[@property="dcterms:conformsTo" and text() = "http://www.idpf.org/epub/a11y/accessibility-20170105.html#wcag-aa"]: - THEN LET conformance_string = 'EPUB Accessibility 1.0 WCAG 2.0 Level AA', + THEN LET conformance_string = 'EPUB Accessibility 1.0 WCAG 2.0 Level AA', and LET wcag_level = 'AA'.
    6. @@ -399,14 +399,14 @@

      Variables setup

    7. IF the result of calling check for node on package_document, /package/metadata/link[@rel="dcterms:conformsTo" and @href="http://www.idpf.org/epub/a11y/accessibility-20170105.html#wcag-aaa"] | /package/metadata/meta[@property="dcterms:conformsTo" and text() = "http://www.idpf.org/epub/a11y/accessibility-20170105.html#wcag-aaa"]: - THEN LET conformance_string = 'EPUB Accessibility 1.0 WCAG 2.0 Level AAA', + THEN LET conformance_string = 'EPUB Accessibility 1.0 WCAG 2.0 Level AAA', and LET wcag_level = 'AAA'.
    8. LET conformance be the value of the node extracted from package_document, using the xpath /package/metadata/meta[@property="dcterms:conformsTo" and matches(normalize-space(.), 'EPUB Accessibility 1\.1 - WCAG 2\.[0-2] Level [A]+').
    9. - +
    10. IF conformance is NOT empty: @@ -414,16 +414,16 @@

      Variables setup

      and LET wcag_level = replace(conformance, 'EPUB Accessibility 1\.1 - WCAG 2\.[0-2] Level ', '').
    11. - +
    12. LET certifier be the value of the node extracted from package_document, using the xpath /package/metadata/meta[@property="a11y:certifiedBy"]/text().
    13. - +
    14. LET certifier_credentials be the value of the node extracted from package_document, using the xpath /package/metadata/meta[@property="a11y:certifierCredential"]/text().
    15. - +
    16. LET certification_date be the value of the node extracted from package_document, using the xpath /package/metadata/meta[@property="dcterms:date" and @refines=//meta[@property="a11y:certifiedBy"]/@id]/text()].
    17. - +
    18. LET certifier_report be the value of the node extracted from package_document, using the xpath /package/metadata/meta[@property="a11y:certifierReport"]/text().
    - +

    Instructions

    1. IF conformance_string is empty: @@ -464,7 +464,7 @@

      Instructions

    2. ELSE display certifier_credentials as text.
    3. - +
    4. @@ -473,7 +473,7 @@

      Instructions

    5. display "This publication claims to meet ".
    6. display conformance_string.

      - +

      The value of conformance_string will be one of the following strings:

      @@ -516,14 +516,14 @@

      Instructions

    - +
    - - + +

    Prerecorded audio

    This technique relates to Prerecorded audio key information.

    - +

    This algorithm takes the package_document_as_text argument: a UTF-8 string representing the Package document.

    Understanding the variables

    @@ -535,28 +535,28 @@

    Understanding the variables

    synchronised_pre_recorded_audio

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

    -

    This indicates that text-synchronised prerecorded audio narration (natural or synthesised voice) is included for substantially all textual matter, including all alternative descriptions, e.g. via a SMIL media overlay.

    +

    This indicates that text-synchronised prerecorded audio narration (natural or synthesized voice) is included for substantially all textual matter, including all alternative descriptions, e.g. via a SMIL media overlay.

    - +
    audio_content

    If true it indicates that the accessMode="auditory" is present in the package document, otherwise, if false, it means that the metadata is not present.

    This indicates that prerecorded audio content is included as part of the work.

    - - + +

    Variables setup

    1. LET package_document be the result of calling preprocessing given package_document_as_text.
    2. - +
    3. LET all_content_audio be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessModeSufficient" and text()="auditory"].
    4. - +
    5. LET synchronised_pre_recorded_audio be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityFeature" and text()="sychronizedAudioText"].
    6. - +
    7. LET audio_content be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessMode" and text()="auditory"].
    8. - +

    Instructions

      @@ -567,14 +567,14 @@

      Instructions

    1. ELSE IF synchronised_pre_recorded_audio: THEN display "Prerecorded audio synchronized with text". -
    2. +
    3. ELSE IF audio_content: THEN display "Complementary audio and text". -
    4. +
    5. - ELSE either omit this key informtion if metadata is missing or display "No information is available". + ELSE either omit this key information if metadata is missing or display "No information is available".
    @@ -589,7 +589,7 @@

    Understanding the variables

    table_of_contents_navigation

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

    - +

    This means that the resource includes a table of contents that provides links to the major sections of the content.

    index_navigation
    @@ -611,15 +611,15 @@

    Understanding the variables

    Variables setup

      - +
    1. LET package_document be the result of calling preprocessing given package_document_as_text.
    2. - +
    3. LET table_of_contents_navigation be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityFeature" and text()="tableOfContents"].
    4. LET index_navigation be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityFeature" and text()="index"].
    5. LET page_navigation be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityFeature" and text()="pageNavigation"].
    6. - +
    7. LET next_previous_structural_navigation be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityFeature" and text()="structuralNavigation"].
    @@ -655,21 +655,21 @@

    Instructions

  • - ELSE either omit this key informtion if metadata is missing or display "No information is available". + ELSE either omit this key information if metadata is missing or display "No information is available".
  • - +

    Charts, diagrams, math, and formulas

    This technique relates to Charts, diagrams, math, and formulas key information.

    - +

    This algorithm takes the package_document_as_text argument: a UTF-8 string representing the Package document.

    Understanding the variables

    contains_charts_diagrams
    -

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

    +

    If true it indicates that the accessibilityFeature="chartOnVisual" (charts encoded in visual form) 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 the product has some information conveyed via some form of illustration, such as a graph, a chart, a diagram, a figure, etc).

    long_text_descriptions
    @@ -678,7 +678,7 @@

    Understanding the variables

    This means that there is a positive indication that a full alternative textual description has been supplied for all of the graphs, charts, diagrams, or figures necessary to understand the content.

    contains_chemical_formula
    -
    +

    If true it indicates that the accessibilityFeature="chemOnVisual" (Chemical content) 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 the publication contains chemical notations, formulae.

    @@ -706,18 +706,18 @@

    Understanding the variables

    Variables setup

    1. LET package_document be the result of calling preprocessing given package_document_as_text.
    2. - +
    3. LET contains_charts_diagrams be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityFeature" and text()="chartOnVisual"].
    4. - +
    5. LET long_text_descriptions be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityFeature" and text()="longDescriptions"].
    6. - +
    7. LET contains_chemical_formula be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityFeature" and text()="chemOnVisual"].
    8. - +
    9. LET chemical_formula_as_chemml be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityFeature" and text()="ChemML"].
    10. - - + +
    11. LET contains_math_formula be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityFeature" and text()="describedMath"].
    12. - +
    13. 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"].
    14. 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"].
    15. @@ -743,60 +743,60 @@

      Instructions

    - +

    Hazards

    This technique relates to Hazards key information.

    This algorithm takes the package_document_as_text argument: a UTF-8 string representing the Package document.

    - +

    Understanding the variables

    no_hazards_or_warnings_confirmed
    -

    If true it indicates that the accessibilityHazard="none" (no accessibility hazards) is present in the package document, otherwise if false it means that the metadata is not present.

    -

    This means there is a positive indication in the accessiblity metadata within the EPUB confirming there are no associated hazard warnings with this product.

    +

    If true it indicates that the accessibilityHazard="none" (no accessibility hazards) is present in the package document, otherwise if false it means that the metadata is not present.

    +

    This means there is a positive indication in the accessibility metadata within the EPUB confirming there are no associated hazard warnings with this product.

    flashing_hazard
    -

    If true it indicates that the accessibilityHazard="flashing" (WARNING - Flashing hazards) 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 in the accessiblity metadata within the EPUB confirming that the product has a flashing hazard which must be displayed.

    +

    If true it indicates that the accessibilityHazard="flashing" (WARNING - Flashing hazards) 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 in the accessibility metadata within the EPUB confirming that the product has a flashing hazard which must be displayed.

    no_flashing_hazards
    -

    If true it indicates that the accessibilityHazard="noFlashingHazard" (No flashing hazard warning necessary) is present in the package document, otherwise if false it means that the metadata is not present.

    -

    This means there is a positive indication in the accessiblity metadata within the EPUB confirming there are no flashing hazards associated with this product.

    +

    If true it indicates that the accessibilityHazard="noFlashingHazard" (No flashing hazard warning necessary) is present in the package document, otherwise if false it means that the metadata is not present.

    +

    This means there is a positive indication in the accessibility metadata within the EPUB confirming there are no flashing hazards associated with this product.

    motion_simulation_hazard
    -

    If true it indicates that the accessibilityHazard="motionSimulation" (WARNING - Motion simulation hazard) 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 in the accessiblity metadata within the EPUB confirming that the product has a motion simulation hazard which must be displayed.

    +

    If true it indicates that the accessibilityHazard="motionSimulation" (WARNING - Motion simulation hazard) 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 in the accessibility metadata within the EPUB confirming that the product has a motion simulation hazard which must be displayed.

    no_motion_hazards
    -

    If true it indicates that the accessibilityHazard="noMotionSimulationHazard" (No motion simulation hazard warning necessary) is present in the package document, otherwise if false it means that the metadata is not present.

    This means there is a positive indication in the accessiblity metadata within the EPUB confirming there are no motion simulation hazards associated with this product.

    +

    If true it indicates that the accessibilityHazard="noMotionSimulationHazard" (No motion simulation hazard warning necessary) is present in the package document, otherwise if false it means that the metadata is not present.

    This means there is a positive indication in the accessibility metadata within the EPUB confirming there are no motion simulation hazards associated with this product.

    sound_hazard
    -

    If true it indicates that the accessibilityHazard="Sound" (WARNING - Sound hazard) 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 in the accessiblity metadata within the EPUB confirming that the product has a sound hazard which must be displayed.

    +

    If true it indicates that the accessibilityHazard="Sound" (WARNING - Sound hazard) 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 in the accessibility metadata within the EPUB confirming that the product has a sound hazard which must be displayed.

    no_sound_hazards
    -

    If true it indicates that the accessibilityHazard="noSoundHazard" (No sound hazard warning necessary) is present in the package document, otherwise if false it means that the metadata is not present.

    -

    This means there is a positive indication in the accessiblity metadata within the EPUB confirming there are no sound hazards associated with this product.

    +

    If true it indicates that the accessibilityHazard="noSoundHazard" (No sound hazard warning necessary) is present in the package document, otherwise if false it means that the metadata is not present.

    +

    This means there is a positive indication in the accessibility metadata within the EPUB confirming there are no sound hazards associated with this product.

    unknown_if_contains_hazards
    -

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

    +

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

    This means that the product has not been assessed for hazards and there is no information about potential hazards.

    - +
    - +

    Variables setup

    1. LET package_document be the result of calling preprocessing given package_document_as_text.
    2. - +
    3. LET no_hazards_or_warnings_confirmed be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityHazard" and text()="none"].
    4. LET flashing_hazard be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityHazard" and text()="flashing"].
    5. @@ -819,7 +819,7 @@

      Variables setup

    6. LET unknown_if_contains_hazards be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityHazard" and text()="unknown"].
    7. - +

    Instructions

      @@ -858,13 +858,13 @@

      Instructions

      THEN display "The presence of hazards is unknown".
    1. - ELSE either omit this key informtion if metadata is missing or display "No information is available". + ELSE either omit this key information if metadata is missing or display "No information is available".
    - +

    Accessibility summary

    This technique relates to Accessibility summary key information.

    @@ -886,7 +886,7 @@

    Understanding the variables

    lang_attribute_accessibility_summary
    -

    Returns the lang attribute of the node containing the accessibility_summary, or the lang attribute of the nearest anchestor.

    +

    Returns the lang attribute of the node containing the accessibility_summary, or the lang attribute of the nearest ancestor.

    This is the language code in which the text of the Accessibility summary was written.

    language_of_text
    @@ -919,7 +919,7 @@

    Instructions

    IF accessibility_summary is NOT empty: THEN display the content of accessibility_summary with language_accessibility_summary as language.
  • - ELSE either omit this key informtion if metadata is missing or display "No accessibility summary is available.". + ELSE either omit this key information if metadata is missing or display "No accessibility summary is available.".
  • @@ -927,11 +927,11 @@

    Instructions

    - - + +

    Additional accessibility information

    This technique relates to Additional accessibility information key information.

    @@ -978,7 +978,7 @@

    Additional accessibility information

    Adaptation

    - +
    Understanding the variables
    audio_descriptions
    @@ -1022,7 +1022,7 @@
    Understanding the variables

    This means that a full signing of audio content of the product is supplied with the video file.

    - +
    Variables setup
    1. LET package_document be the result of calling preprocessing given package_document_as_text.
    2. @@ -1032,7 +1032,7 @@
      Variables setup
    3. LET tactile_object be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityFeature" and text()="tactileObject"].
    4. LET sign_language be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityFeature" and text()="signLanguage"].
    - +
    Instructions
    1. LET adaptation be an empty array.
    2. @@ -1069,39 +1069,39 @@
      Instructions
    - +

    Clarity

    - +
    Understanding the variables
    - +
    aria

    If true it indicates that the accessibilityFeature="aria" (ARIA roles - semantic markup) is present in the package document, otherwise if false it means that the metadata is not present.

    -

    This means that the use of AIRA, including DPUB ARIA is used to improve the semantic markup of the publication.

    +

    This means that the use of ARIA, including DPUB ARIA is used to improve the semantic markup of the publication.

    full_ruby_annotations

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

    This means that ruby annotations are attached to every CJK ideographic character in the content. Ruby annotations are used as pronunciation guides for the logographic characters for languages like Chinese or Japanese. They make difficult CJK ideographic characters more accessible.

    -
    - + +
    text_to_speech_hinting

    If true it indicates that the accessibilityFeature="ttsMarkup" (Text-to-speech markup provided) is present in the package document, otherwise if false it means that the metadata is not present.

    -

    This means that text-to-speech has been optimised through provision of PLS lexicons, SSML or CSS Speech synthesis hints or other speech synthesis markup languages or hinting.

    +

    This means that text-to-speech has been optimized through provision of PLS lexicons, SSML or CSS Speech synthesis hints or other speech synthesis markup languages or hinting.

    high_contrast_between_foreground_and_background_audio

    If true it indicates that the accessibilityFeature="highContrastAudio" (Use of high contrast between foreground and background audio) is present in the package document, otherwise if false it means that the metadata is not present.

    This means that foreground audio content (eg voice) is presented with no or low background noise (eg ambient sounds, music), at least 20dB below the level of the foreground, or background noise can be switched off (eg via an alternative audio track). Brief and occasional sound effects may be as loud as foreground voice so long as they are isolated from the foreground.

    -
    +
    high_contrast_between_text_and_background

    If true it indicates that the accessibilityFeature="highContrastDisplay" (Use of high contrast between text and background color) is present in the package document, otherwise if false it means that the metadata is not present.

    This means that body text is presented with a contrast ratio of at least 4.5:1 (or 3:1 for large/heading text).

    -
    +
    large_print

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

    @@ -1116,10 +1116,10 @@
    Understanding the variables

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

    This means that ruby annotations are attached to some but not all CJK ideographic characters in the content.

    -
    - + +
    - +
    Variables setup
    1. LET package_document be the result of calling preprocessing given package_document_as_text.
    2. @@ -1132,7 +1132,7 @@
      Variables setup
    3. LET page_break_markers be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityFeature" and text()="pageBreakMarkers"].
    4. LET ruby_annotations be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityFeature" and text()="rubyAnnotations"].
    - +
    Instructions
    1. LET clarity be an empty array.
    2. @@ -1169,7 +1169,7 @@
      Instructions
      THEN APPEND "ruby annotations" to clarity. - +
    3. IF clarity is NOT empty:
      1. LET clarity_string be the result of: @@ -1183,10 +1183,10 @@
        Instructions
    - - + +
    - +