daisy / daisy/ebraille

Best Practice Tagging: Table of contents example under Lists

Open
#140 5 comments 0 reactions 0 assignees View on GitHub
Best practices - tagging
Dominant language
HTML
Stars
27
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Just wanted to note that the example for table of contents needs more work - this is why I did not attempt one when writing the Wiki examples.

1. There needs to be some kind of class to make sure the (braille) page number was tabbed to a particular position on the line, with appropriate leader dots.
Current example would render for example as:
⠠⠉⠓⠁⠏⠞⠑⠗⠀⠼⠑⠀⠼⠉⠉

whereas we actually want, e.g.:
⠠⠉⠓⠁⠏⠞⠑⠗⠀⠼⠑⠀⠐⠐⠐⠐⠐⠐⠐⠐⠐⠐⠐⠐⠐⠐⠐⠐⠐⠐⠐⠐⠐⠐⠐⠀⠼⠉⠉

2. It is likely that a user will want to be able to activate anywhere on the entry: the chapter name, leader line or page number) to jump to the content. The current example only shows the page number as the link).

3. Also, (certainly in the UK), the table header lines (such as "Chapter" and "Page" are repeated at the top of each braille page. This is analogous to thead, so we may need a mechanism to do this in combination with a list-like structure.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.