Okay, when I parse the nav to get titles for each file I can extract the navs h1 to get a workable title for the nav. I can also parse the nav landmarks and extract epub:type semantics for any file listed and use those to add epub:type and aria roles to the appropriate body tag of the correct file.
That should help. I’ll post a new alpha for testing hopefully some time this weekend.
|