401
edits
mNo edit summary |
(moved all of Geoff Freed's comments to https://wiki.mozilla.org/Accessibility/Experiment2_feedback) |
||
| Line 1: | Line 1: | ||
= Specification of the itext element (Second Version) = | = Specification of the itext element (Second Version) = | ||
== Introduction == | == Introduction == | ||
| Line 93: | Line 90: | ||
visibility: hidden; | visibility: hidden; | ||
aria-live: assertive; | aria-live: assertive; | ||
CUE area: | CUE area: | ||
| Line 169: | Line 163: | ||
The src attribute gives the address of the external itext resource. The value of the attribute must be a valid URL identifying a text resource of the type given by the type attribute, if the attribute is present, or of the type "text/srt", if the attribute is absent. This attribute is required to enable the user agent to pick the correct parser for the file, even if it only receives a "text/plain" resource. | The src attribute gives the address of the external itext resource. The value of the attribute must be a valid URL identifying a text resource of the type given by the type attribute, if the attribute is present, or of the type "text/srt", if the attribute is absent. This attribute is required to enable the user agent to pick the correct parser for the file, even if it only receives a "text/plain" resource. | ||
The type attribute gives the format of the data, RFC 2046. If the attribute is present, its value must be a valid MIME type, optionally with parameters. The charset parameter must not be specified. (The default, which is used if the attribute is absent, is "text/srt".) [RFC2046] | The type attribute gives the format of the data, RFC 2046. If the attribute is present, its value must be a valid MIME type, optionally with parameters. The charset parameter must not be specified. (The default, which is used if the attribute is absent, is "text/srt".) [RFC2046] | ||
NOTE: text/srt will need to be registered as a mime type (as well as a format standardisation) | NOTE: text/srt will need to be registered as a mime type (as well as a format standardisation) | ||
| Line 197: | Line 185: | ||
An activated itext resource displays its content into a specified screen area provided by the browser based on default styling. If the active itext resource changes, the text will change to originate from the new resource as soon as possible to the browser without interrupting any of its other display requirements (e.g. audio/video playback). | An activated itext resource displays its content into a specified screen area provided by the browser based on default styling. If the active itext resource changes, the text will change to originate from the new resource as soon as possible to the browser without interrupting any of its other display requirements (e.g. audio/video playback). | ||
What about displaying text in multiple regions simultaneously? For example, French subtitles in the upper third and English captions in the lower third? Or, as is not uncommon in broadcast captions, the display of two sets of captions simultaneously (e.g., when two people are speaking at the same time). | What about displaying text in multiple regions simultaneously? For example, French subtitles in the upper third and English captions in the lower third? Or, as is not uncommon in broadcast captions, the display of two sets of captions simultaneously (e.g., when two people are speaking at the same time). | ||
| Line 321: | Line 307: | ||
As the controls attribute in the video element is specified, this creates a menu with subtitles and spoken transcript as the submenu items to select from. Only one track can be activated at any point in time from within a itextlist. Also, an additional element of "none" should be added by the browser to allow to deactivate all itext elements. | As the controls attribute in the video element is specified, this creates a menu with subtitles and spoken transcript as the submenu items to select from. Only one track can be activated at any point in time from within a itextlist. Also, an additional element of "none" should be added by the browser to allow to deactivate all itext elements. | ||
edits