diff --git a/index.html b/index.html index a8bd844..29cdd44 100644 --- a/index.html +++ b/index.html @@ -677,7 +677,7 @@

The `html` Render Suite

"digestMultibase": "zQmerWC85Wg6wFl9znFCwYxApG270iEu5h6JqWAPdhyxz2dR" }, "outputPreference": { - "mode": [ + "accessMode": [ "visual" ], "mediaType": "application/html", @@ -851,6 +851,99 @@
Ready and Error Events
of an error.

+

Output Preferences

+

+Rendering environment preferences MAY be provided within the Render Method. The +purpose of this object is to provide suggested use, display, and intended +access mode when rendering the provided template. An implementation SHOULD +follow these preferences when provided. +

+ + + + + + + + + + + + + + +
PropertyDescription
outputPreference +An OPTIONAL [=map=] that expresses the preferred rendering environment for the provided template. +
+ +

+The `outputPreference` object MAY contain any of the following properties: +

+ + + + + + + + + + + + + + + + + + + + + + +
PropertyDescription
accessMode +An OPTIONAL [=list=] of one or more [=string=] values of `auditory`, `tactile`, +`textual`, or `visual` as defined in + +https://w3c.github.io/cg-reports/a11y-discov-vocab/CG-FINAL-vocabulary-20260128/#accessMode-vocabulary +
mediaType +An OPTIONAL [=string=] stating a valid media type listed in the +IANA Media Types preferred for rendering. This value MAY be used when +suggesting addtional processing prior to rendering. Examples include converting +an SVG template into a static image or an HTML document into a PDF. +
style +An OPTIONAL [=map=] which defines style properties to potentially be used by +the rendering environment. +
+ +

The `style` object MAY contain any of the following properties:

+ + + + + + + + + + + + + + + + + + +
PropertyDescription
width +An OPTIONAL [=string=] containing a CSS compatible width preference to be set +on the `iframe`. +
height +An OPTIONAL [=string=] containing a CSS compatible height preference to be set +on the `iframe`. +
+

Algorithms

The following sections outline the algorithms that are used by the `html` render