-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
List of illustrations #40
Comments
This ARIA issue is probably relevant: w3c/aria#1643 |
My hot take is that a "list of illustrations" role is needlessly specific. @michael-roe can you add some justification as to why this is necessary for assistive technology use cases? |
I agee with @cookiecrook. I think doc-toc can be used with a label. |
My rationale was along the lines of: so yeah, there are probably other ways to do this. if there was an example in the spec of using doc-toc twice, with some means of indicating which toc was the primary one, it would make the issue clearer to implementers of dreaded and producers of ebooks. === The question of what are the criteria for deciding a role deserves including in the spec is a good one. |
P.s. I’m inclined to agree that list of illustrations is too specific, even if it was in the ePub structural semantics document. What seems to be needed here is a mechanism to have multiple navigation sections, with one marked as the primary and others as secondary (tabs of specific types of content, such as illustrations, figures, whatever) |
@michael-roe I think what you're looking for is reading system functionality. A good place to put this issue would be https://github.com/w3c/publ-cg/issues |
This is already defined in EPUB, at least, by the combination of the nav property in the package document manifest and the toc value in an epub:type attribute on the nav element with the table of contents. That's how reading systems find the table of contents and display it to users; they don't use roles. I wouldn't put the doc-toc role on a list of whatever (tables, illustrations, examples, videos, etc.). The nav element is already a landmark role, so all you need to do is label it to differentiate it from the other navigation elements. That won't help reading systems, but experience to date is that reading systems are going to ignore everything but the toc and page list unless, as Tzviya says, you can make a case to implement other navigation lists. In any case, I've tagged this as deferred to a future revision as we're not expanding the publishing roles in 1.1. If you don't feel it's worth pursuing anymore, though, please feel free to close the issue. |
Ok, I am fairly convinced by the argument that the way to do this is with multiple <nav> elements, with the primary toc distinguished as per the current spec, and no special role attribute on the other nav sections. I’ll close this issue as resolved if no-one else wants to chime in the issue. |
(Feature request)
Add a role corresponding to ‘loi’ in the ePub structural semantics. It identifies a section or nav element containing links to the illustrations in the document.
The text was updated successfully, but these errors were encountered: