Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expanded label and ordinal use #2665

Open
dazrand opened this issue Nov 21, 2024 · 1 comment
Open

Expanded label and ordinal use #2665

dazrand opened this issue Nov 21, 2024 · 1 comment
Labels
Spec-SSV The issue affects the EPUB Structural Semantics Vocabulary 1.1 WG Note

Comments

@dazrand
Copy link

dazrand commented Nov 21, 2024

Issue on the “EPUB 3 Structural Semantics Vocabulary 1.1” WG Note

§9 Titles and headings

Current use of ordinal and label are limited to headings and figcaption. The element caption should be added since it acts as the title for tables (and is even called out in the example).

@dazrand dazrand added the Spec-A11yTechniques The issue affects the EPUB Accessibility Techniques WG Note label Nov 21, 2024
@mattgarrish
Copy link
Member

mattgarrish commented Nov 21, 2024

Current use of ordinal and label are limited to headings and figcaption.

Those are only advisory usages, not restrictions, so you shouldn't run into any issues using them in a caption. This is clarified in the about this vocabulary section:

The HTML usage context fields indicate contexts in HTML documents where the given property is considered relevant. EPUB creators may use the properties on HTML markup elements not specifically listed, but must ensure that the semantics they express represent a subset of the carrying element's semantics and do not attach an existing element's meaning to a semantically neutral element.

We could add caption to the list but I honestly don't know who makes decisions on those terms now. Those are some of the edupub draft terms and that group is likely never reforming, or at least not maintaining that old work if a new group is spun up. I expect the idea was that tables would be wrapped in figure tags and use figcaption instead of caption.

If we're going to modify the edupub terms, then we might as well drop all those draft labels in the vocabulary.

@mattgarrish mattgarrish added Spec-SSV The issue affects the EPUB Structural Semantics Vocabulary 1.1 WG Note and removed Spec-A11yTechniques The issue affects the EPUB Accessibility Techniques WG Note labels Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Spec-SSV The issue affects the EPUB Structural Semantics Vocabulary 1.1 WG Note
Projects
None yet
Development

No branches or pull requests

2 participants