Project

General

Profile

Feature #13569

Label TOC in-page links as such

Added by sajolida about 2 years ago. Updated over 1 year ago.

Status:
Confirmed
Priority:
Low
Assignee:
-
Category:
Accessibility
Target version:
-
Start date:
08/02/2017
Due date:
% Done:

0%

Feature Branch:
Type of work:
Website
Blueprint:
Starter:
Yes
Affected tool:

Description

See "Label In-Page Links" in https://www.nngroup.com/articles/in-page-links/.

We could label TOC as "On this page" or similar.

I don't think that this is achievable through native ikiwiki mechanism so we'll need some hack. The complicated part being supporting translations in a maintainable way.

From the top of my head, this could be achieved using either:

  • Some CSS snippet, like we're doing for "in-kind" in f28613a0d5 for example. We could move translations to a dedicated CSS file linked from the first one.
  • Some JavaScript code. Then translations could possibly be taken from a JSON file.

History

#1 Updated by u over 1 year ago

We could also label TOC as what it is supposed to mean: "Table of contents", or does this defeat the purpose?

#2 Updated by sajolida over 1 year ago

"Table of contents" would work to. The complicated part is not to choose
the wording but to display this automatically on all pages that figure a
"TOC".

Another way to go could be an ikiwiki patch.

Also available in: Atom PDF