3 ms·
Have an icon appear on hover, and make every heading a hyperlink (even without styling), and have a table of contents with links to each heading (with styling).
by kibwen 2y ago
Have an icon appear on hover, and make every heading a hyperlink (even without styling), and have a table of contents with links to each heading (with styling). No need to dumb down your interface just for smartphone users.
- g15jv2dp 2y agoWhat's the point of the icon if the heading is already a hyperlink?
- codetrotter 2y agoThe anchor symbol can have JavaScript that copies the link to clipboard on click. And the heading can be a plain old link to itself. Gives a nice visual and interaction for desktop while providing a way for mobile users to get the link too (long-press the heading and copy link).
- account42 2y agoIt serves as an indication that the link is an anchor for that heading and doesn't lead somewhere else.