Skip to content

Please add an attribute that allows each bookmark in an EPUB 3 table of contents to be individually set to either expanded or collapsed by default #2766

@meng89

Description

@meng89

Section

https://www.w3.org/TR/epub-33/#sec-nav

Describe the problem

As the creator of the EPUB3 ebook format, I've included a navigation structure with approximately two thousand <li> elements and several hundred <ol> elements. It would significantly enhance the reader's experience if a property could be introduced that allows EPUB readers to understand my intention as the format producer—for instance, to default certain sections to be collapsed and others to be expanded. This would make it much easier for readers to quickly locate desired chapters.

Describe the fix or new feature you propose

Maybe like this:
<ol default-state="collapsed">...</ol>
<ol default-state="expanded">...</ol>
<ol default-state="none">...</ol>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Spec-EPUB3The issue affects the core EPUB 3.X Recommendation

    Type

    No type

    Projects

    Status

    In review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions