emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Org FAQ design (Re: [PATCH] org-faq.org: Inline comments)


From: Max Nikulin
Subject: Org FAQ design (Re: [PATCH] org-faq.org: Inline comments)
Date: Sun, 2 Jul 2023 12:46:06 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

On 01/07/2023 22:24, Ihor Radchenko wrote:
Max Nikulin writes:

FAQ is probably fine. We may add a CSS there that will fold the
answers by default.

When all entries are opened, it is possible to use search in browser. I
am against the idea of hiding answers. However the table of contents,
that is rather long and revealed on hover only, makes it harder to
search in the TOC at first.

I am now watching
https://fosdem.org/2023/schedule/event/a11y_eaa_bfsg_wcag_wai_aria_wtf/

I have skimmed through the presentation.

They suggest a combination of <details><summary> to keep hidden text
searchable. See 
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary

Unsupported by Firefox:

https://bugzilla.mozilla.org/show_bug.cgi?id=1724299
Implement auto-expanding <details>

I am unsure if it is possible to implement auto-expanding on link to specific question for Firefox.

However <details> is better than accordions in most cases.

I would consider to put TOC into <details open>

P.S. Have you noticed that MDN pages have "skip to content" link hidden by default, but revealed on using keyboard (TAB).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]