Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Problem with footnote references not showing as clickable with f #1449

Open
1 task done
JoelMon opened this issue Aug 30, 2022 · 1 comment
Open
1 task done

Problem with footnote references not showing as clickable with f #1449

JoelMon opened this issue Aug 30, 2022 · 1 comment

Comments

@JoelMon
Copy link

JoelMon commented Aug 30, 2022

I'm opening this issue because:

  • I'll report a possible bug

Description

When I press f all links are marked with a letter I can press to navigate to where the link points to.

On the Predrag blog site when you shrink the page, the side footnotes reference numbers exposes the footnotes when clicked upon.
Before
image

After clicking ref number 2:
image

The problem is that when I press f, these reference numbers are not marked as clickable. Example:

image

Question

The footer reference numbers are not heref links, instead they are stylized check boxes (I think) that exposes the footnotes when clicked. Shouldn't check boxes come up as clickable though?

Not sure if this is a bug or if there's something that can be done on the CSS end to make the footer ref show up as being "clickable".

Failure Information (for bugs)

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Go to Predrag
  2. Shrink the sides of the browser enough to hide the side footnotes. Sidenotes?
  3. Press f to expose all clickable items
  4. Notice that footer numbers are not exposed as clickable

System configuration

  • Operating system: Win 10
  • Firefox version: 104.0 (64-bit)
  • Vim-Vixen version: 1.2.3
@obi1kenobi
Copy link

Thanks for opening this issue @JoelMon!

That's my blog where the issue is happening.

A bit of context to hopefully save folks time: the numbered refs are implemented as a label + hidden checkbox combination, where the label carries the superscript number. Clicking the label causes the checkbox to get checked, which reveals the hidden text. So they aren't clickable links in the a/href sense (there's no "new location" to navigate to), but they are intended to be clickable.
image

If there's a simple HTML/CSS fix I can apply on my end to fix this today without breaking the rest of my site, I'd be happy to do it. I'm just not familiar with Vim-Vixen (just learned about it today!) or its heuristic for discovering clickable items.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants