Hi,

A couple of loosely related points first.

Top margin for TOC can be reduced now since up/home links are not above it any more.

Postamble has min-width property and may cause horizontal scrollbar in narrow browser window.

Since the sponsor block is not always visible any more, it might be repeated in postamble.

I would consider "white-space: pre-wrap" for <pre> to avoid horizontal scrolling.

On 30/05/2025 17:53, Christian Moe wrote:
Rudolf Adamkovič writes:

Much improved, but I am not a fan of showing TOC on hover.  Why not
simply show it always, so one gets an idea what the document is about
and can comfortably jump where needed?

Note that, on current behavior, you can keep it open by clicking it;
then it won't collapse when the mouse moves out, but only when you click
it again.

I do not like hover actions as well. Open/close behavior may be implemented without JavaScript using the <input type="checkbox"> and <label> trick as it is done for menu on the main Org site and for language dropdown on https://en.wikipedia.org I think, explicit button should be added anyway.

From my point of view, in the case of wide window it is better to open TOC by default (in the right or left margin). For mobile devices perhaps it is better to close TOC by default.

I have heard of "skip to main content" links in the context of screen readers, but maybe it may be always visible if TOC is open and is not fixed
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/a#skip_links

Ideally TOC should not be excessively long. From my point of view even moderately long TOC deserves a brief summary before it.



Reply via email to