News for hackers. Stuff that matters.
Re:A (terrible?) way to do footnotes in HTML by edent on Thursday December 10, 2020 @09:37AM (#25374092)
It does not require the use of a pointing device. The details element is keyboard selectable. On my browser, both space and enter work to toggle it.
Re:A (terrible?) way to do footnotes in HTML by leephillips on Thursday December 10, 2020 @03:16PM (#25378005)
Ahh, I guess I should have been more specific. I can also select the footnote toggles by tabbing, and toggle them with the keyboard. But can’t select them in a random-access way with link hinting (I mentioned vimperator), because they are not links nor something else, such as an input field, that gets a hint. So that's a slight advantage on the side of using some kind of link for the footnotes. But really, this just shows me that link-hinting systems should include detail toggles as targets.
Re:A (terrible?) way to do footnotes in HTML by edent on Friday December 11, 2020 @04:44AM (#25383953)
Oh, that's an interesting use-case I hadn't considered.