Closed nigelmegitt closed 3 months ago
For example: https://w3c.github.io/adpt/#bbc-example-section includes:
<p xml:id="ad61b" begin="62.24s" end="71.52s">
<ttm:desc ttm:role="x-shotDescription">SHOT CHANGE: 62.36s Nick Cotton centre screen facing right.</ttm:desc>
The Timed Text Working Group just discussed Permit ttm:role attribute in ttm:desc elements w3c/ttml2#1247
, and agreed to the following:
RESOLUTION: We update TTML2 to allow metadata attributes on metadata elements
I've been looking into the semantics of ttm:role
specifically.
Currently, a ttm:role
attribute on a <metadata>
element defines role(s) applicable to the <metadata>
element's parent element.
If we make this change, then the slightly unusual scenario occurs that the ttm:role
attribute on a child of a <metadata>
element would not be "inherited" by that metadata
element's children. This is in contrast to ttm:role
applied to content elements, where its values do seem to apply to descendant content elements, though this is slightly unclear. See #1271 also.
I can't envision ttm:role
applying to a descendant of a metadata
element, at least with respect to the TTML defined metadata vocabulary. Though I suppose one could invent a scenario where it might apply to foreign metadata vocabulary. On the other hand, it was never the intention that ttm:role
would semantically apply to metadata; rather, it would apply only to content data.
My view at the moment is that it would be feasible to allow ttm:role
on descendants of metadata
, especially since it seems to fulfil a need, hence being used in practice. However, merely permitting it without making any other change would be unwise, not least because the inheritance semantics would become confusing.
Noting that DAPT currently defines a different attribute to fulfil this need, i.e. daptm:descType
, I now would argue that is a better solution than trying to make the semantic change of adding ttm:role
to descendants of <metadata>
.
With that in mind, I would propose closing this issue with no change.
The Timed Text Working Group just discussed Permit ttm:role attribute in ttm:desc elements w3c/ttml2#1247
, and agreed to the following:
SUMMARY: Allow more time for consideration
The Timed Text Working Group just discussed Permit ttm:role attribute in ttm:desc elements w3c/ttml2#1247
, and agreed to the following:
SUMMARY: Close with no change
Closing with no change as discussed in TTWG meeting
I've seen real world usage of the
ttm:role
attribute onttm:desc
elements, used to describe the purpose/type of description. Suggest in §14.2.2 adding Metadata Items alongside Content. It could also be useful on Data elements.