diff --git a/UX-Guide-Metadata/draft/techniques/epub-metadata/index.html b/UX-Guide-Metadata/draft/techniques/epub-metadata/index.html index 280f0dc6..47a997ee 100755 --- a/UX-Guide-Metadata/draft/techniques/epub-metadata/index.html +++ b/UX-Guide-Metadata/draft/techniques/epub-metadata/index.html @@ -58,9 +58,10 @@ margin-left: 0.2em; padding: 0.1em; } - code[id]::after { - content: "[ID: " attr(id) "]"; - /*html::before { content: ""; }*/ + code[id]::after { + content: "[ID: " attr(id) "]"; + /*html::before { content: ""; } */ + } @@ -77,7 +78,7 @@

EPUB Accessibility Metadata

@@ -218,7 +219,70 @@

Instructions

Supports nonvisual reading

This technique relates to Supports nonvisual reading key information.

- +

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

+

Understanding the variables

+
+
all_necessary_content_textual
+
+

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

+

All non-decorative content supports reading without sight means that all contents of the digital publication necessary to use and understanding, including text, images (via their alternative descriptions), audio and video material (via their transcripts, descriptions, captions or subtitles) are fully accessible via suitable reading devices, for example text-to-speech screen readers or tactile reading devices (‘Braille displays’), and nothing in the digital publication prevents or blocks the use of alternative reading modes. The entire publication can be navigated and ‘read’ using only text rendered via sound or touch, and does not require visual perception.

+
+
non_textual_content_images
+
+

If true it indicates that at least one of the following is present in the OPF file:

+
    +
  • accessMode="chartOnVisual" (Charts and Graphs);
  • +
  • accessMode="chemOnVisual" (Chemistry);
  • +
  • accessMode="diagramOnVisual" (Diagrams);
  • +
  • accessMode="mathOnVisual" (Math);
  • +
  • accessMode="musicOnVisual" (Music);
  • +
  • accessMode="textOnVisual" (Images of text);
  • +
  • otherwise if false it means that this metadata is not present.
  • +
+

This means that the content contains images of any type.

+
+
textual_alternative_images
+
+

If true it indicates that at least one of the following is present in the OPF file:

+
    +
  • accessibilityFeature="alternativeText" (Short alternative textual descriptions);
  • +
  • accessibilityFeature="longDescription" (Full alternative textual descriptions);
  • +
  • accessibilityFeature="describedMath" (Visual of math fully described));
  • +
  • otherwise if false it means that this metadata is not present.
  • +
+

This means that there are textual alternatives for images.

+
+
+

Variables setup

+
    +
  1. LET package_document be the result of calling pre processing given package_document_as_text.
  2. + +
  3. 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"].
  4. +
  5. + 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")]
    . +
  6. + +
  7. 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")]
    . + +
  8. +
+

Instructions

+
    +
  1. + IF all_necessary_content_textual: + THEN display "Readable in read aloud and braille". +
  2. +
  3. + ELSE IF non_textual_content_images AND NOT textual_alternative_images: + THEN display "Not fully readable in read aloud and braille". +
  4. +
  5. ELSE display "May not be fully readable in read aloud and braille".
  6. +
+ +
@@ -234,13 +298,7 @@

Pre-recorded audio

This technique relates to Pre-recorded audio key information.

- -
-

Supports nonvisual reading

-

This technique relates to Supports nonvisual reading key information.

- -
- +

Conformance