[ttml2] Inheritance model of `ttm:role` attribute is unclear (#1271)

nigelmegitt has just created a new issue for https://github.com/w3c/ttml2:

== Inheritance model of `ttm:role` attribute is unclear ==
In content elements, e.g. `<div>` the following text appears:

> Any metadata specified by children in the [Metadata.class](https://www.w3.org/TR/ttml2/#element-vocab-group-metadata) element group applies semantically to the div element and its descendants as a whole.

However, this does not define how metadata specified by [Metadata attributes](https://www.w3.org/TR/ttml2/#attribute-vocab-group-metadata) on those content elements apply.

This raises the oddity that the application is specified in a scenario like:

```xml
<div>
  <metadata ttm:role="action"/>
  <p>This p has the role set {action}</p>
</div>
```

but is not specified in this otherwise equivalent seeming scenario:

```xml
<div ttm:role="action">
  <p>What is the role set of this p?</p>
</div>
```

Suggest adding wording that clarifies that metadata attributes on content elements also apply semantically to the element's descendants.

Please view or discuss this issue at https://github.com/w3c/ttml2/issues/1271 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 25 April 2024 11:03:23 UTC