News for hackers. Stuff that matters.
Re:Overengineered Anchor Links by hombre_fatal on Thursday April 03, 2025 @10:53PM (#43577865)
> Is it really necessary to highlight the heading at all?

You should be able to take a given UX and ask yourself if it can be improved.

A table of contents that tells you where you are on the page is useful.

Here's an implementation: https://getbootstrap.com/docs/5.3/components/modal/

On desktop, the table of contents on the right shows you which header you're on.

There are no comments on this comment yet.