Richard Gibson
Richard Gibson
> Anyway, the thing I've actually proposed here is to not apply any styling to emu-clause or emu-annex, which are the only things in the table of contents, and that...
> That is the specific thing I most object to. I very specifically do not want any additional styling applied when navigating from the ToC, and I would prefer to...
> > Can you explain your objection beyond "most other pages don't have something similar"? > > It's visually distracting; I don't like the content of the document to change...
Very few documents are large like ours, or intended to support entry at arbitrary hyperlinked positions. I contend that this _is_ a distinguishing aspect. > I regard "common UI elements...
> The behavior isn't _having_ a background or border. It's making those _change_ in response to clicking on an entry in the table of contents. I'm not objecting to the...
> Do you think I have direct access to my brain's "what is distracting" algorithm? What would an answer to this question even look like? Well, yes? For example, I'm...
I've updated this PR to hopefully remove the controversial aspects. It now skips the highlight for [clause-like elements](https://github.com/tc39/ecmarkup/blob/65103eeb00d2b060c6ca178314bd0613cd0d108c/src/utils.ts#L147), makes the highlight persistent when the target has focus and is "simple"...
> First, apparently (that is, it appears to me) elements only get `focus` when navigated to if they have _both_ a tabindex and an ID, which is only ~84 elements...
Given that any change is breaking for some cases (albeit possibly only hypothetical) and that the current behavior is wrong and will become more wrong over time as HTML expand...