Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Link on li vs anchor text?

See original GitHub issue

Thank you for this great package. Thoughts on moving the link to the <li> vs the <a>? I have had a few users tell me the pagination is broken because they are clicking on the page box vs the page number. I can create a PR if others see value in the change.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

ghostcommented, Nov 21, 2017

I 2nd this. At the least the a tags should get the padding from the li tags, so the clickable area is larger.

It looks like this was done on purpose in version 4.0 and above by @AdeleD :

@AdeleD was that to enhance accessibility?

grbsplttcommented, Feb 2, 2018

I’m closing this. While I (and one other person who has since deleted their comment) do not believe CSS is the correct way to handle this, I myself do not believe there is consensus here that anything needs to be fixed. I’ll tell my users they aren’t using it properly and they should pound sand.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Difference between link and anchor Tags - GeeksforGeeks
The content written inside the anchor tag gets displayed in the frontend. 3. It establishes the relationship/connection between two entities. It ...
Read more >
HTML Anchors: Here's How To Create Links For Fast ...
Learn how to create HTML hyperlinks. This guide covers the anchor element and all of it's attributes.
Read more >
What is Anchor Text? Best Practices for Optimizing Link Text
Anchor text is the clickable text that appears in a hyperlink. It's designed to stand out from the rest of the text so...
Read more >
Links in HTML documents - W3C
A link has two ends -- called anchors -- and a direction. The link starts at the "source" anchor and points to the...
Read more >
What Is Anchor Text? - WordStream
Anchor text is the clickable text in a hyperlink. SEO best practices dictate that anchor ... The anchor text is also known as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found