View Single Post
Old 06-08-2017, 08:56 PM   #4
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Over the years the "which form of hyperlinked footnote" question has popped up many times.

I found that the best bet is to not use superscript footnotes:

Code:
<a href="#fn1" id="ft1"><sup>1</sup></a>
They are too small (which makes them too hard to click), they can potentially introduce line-height problems, and they are poorer on the accessibility side of things (someone with vision problems who reads with larger font size may not be able to read a superscript that is a few steps smaller).

Instead, it may be better to use [##] format:

Code:
<a href="#fn1" id="ft1">[1]</a>
The benefits were discussed thoroughly in this topic:

https://www.mobileread.com/forums/sh...14#post2859814

Quote:
Originally Posted by MartinMarie View Post
You are quite true GeoffR.
I will enlarge the area this way.
Thanks for suggestion
Martin
I would not recommend inserting the previous words/punctuation in the footnote hyperlink.

That is just asking for spaghetti code and painful headaches in the future (converting to other formats, upgrading to EPUB3's epub:type="noteref" + epub:type="footnote", etc. etc.). Not to mention semantic/accessibility reasons to not clutter up your <a> links.

Last edited by Tex2002ans; 06-08-2017 at 09:08 PM.
Tex2002ans is offline   Reply With Quote