diff --git a/UX-Guide-Metadata/draft/techniques/epub-metadata/index.html b/UX-Guide-Metadata/draft/techniques/epub-metadata/index.html index 47a997ee..c584cf30 100755 --- a/UX-Guide-Metadata/draft/techniques/epub-metadata/index.html +++ b/UX-Guide-Metadata/draft/techniques/epub-metadata/index.html @@ -296,23 +296,62 @@

Conformance

Pre-recorded audio

This technique relates to Pre-recorded audio key information.

+ +

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

-
- - -
-

Conformance

-

This technique relates to Conformance key information.

+

Understanding the variables

+
+
audiobook
+

If true it indicates that the accessModeSufficient="auditory" (all main content is provided in audio form) is present in the OPF file, otherwise if false it means that the metadata is not present.

-
- - -
-

Pre-recorded audio

-

This technique relates to Pre-recorded audio key information.

+
synchronised_pre_recorded_audio
+
+

If true it indicates that the accessibilityFeature="sychronizedAudioText" is present in the OPF file, otherwise, if false, it means that the metadata is not 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.

+
+ +
audio_content
+
+

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

+

This indicates that pre-recorded audio content is included as part of the work.

+
+ + + +

Variables setup

+
    +
  1. LET package_document be the result of calling pre processing given package_document_as_text.
  2. + +
  3. LET audiobook 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

+
    +
  1. + IF audiobook: + THEN display "Audio only". +
  2. +
  3. + ELSE IF synchronised_pre_recorded_audio: + THEN display "Synchronized audio and text". +
  4. +
  5. + ELSE IF audio_content: + THEN display "Complementary audio and text". +
  6. + +
  7. + ELSE display "No information about pre-recorded audio". +

    This key information can be hidden if metadata is missing.

    +
  8. +
- + -
-

Intellectual Property Rights

- -
\ No newline at end of file