Accessibility/HTML5 captions v2: Difference between revisions

m
no edit summary
(update to itext element)
mNo edit summary
Line 3: Line 3:
== Introduction ==
== Introduction ==


The [[https://wiki.mozilla.org/Accessibility/Experiment1_feedback feedback on the first version]] has encouraged a full work-over of the specification.
The [[https://wiki.mozilla.org/Accessibility/Experiment1_feedback | feedback on the first version]] has encouraged a full work-over of the specification.


A particular change is the introduction of a grouping-level element between the media element and the itext element. This has several advantages: the itext elements inside this element are regarded as alternative tracks for display in one region, only at most one of them can be active at any point in time, a default display style can be associated with them, and event handlers for entering and leaving a new element can be associated. The only disadvantage is that there are now two new elements rather than only one to extend an already large HTML5 specification.
A particular change is the introduction of a grouping-level element between the media element and the itext element. This has several advantages: the itext elements inside this element are regarded as alternative tracks for display in one region, only at most one of them can be active at any point in time, a default display style can be associated with them, and event handlers for entering and leaving a new element can be associated. The only disadvantage is that there are now two new elements rather than only one to extend an already large HTML5 specification.