question-mark
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.

@reach/router Link with accessiblity

See original GitHub issue

Issues with Link when using it together with a11y. A lot of props are made default, especially those to do with accessKey and accessKeyLabel.

Is this the expected behavior? @AndrewSouthpaw @pascalduez Screenshot 2020-11-15 at 12 31 05

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
pascalduezcommented, Nov 20, 2020

@HenryKenya I’m pretty sure #3546 won’t get any attention anymore.
Would you be willing to take it over? Maybe create another MR with the fix, and more importantly, write extensive tests, to make sure it really fix the issue while still working properly.

1reaction
pascalduezcommented, Nov 17, 2020

Looking at the libdef for HTMLAnchorElement, I’m seeing those props as required. That’s probably the issue.

It’s a class.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Accessibility - Reach Router
Reach Router provides out-of-the-box focus management so your apps are significantly more accessible without you breaking a sweat. When the location changes, ...
Read more >
Link - Reach Router
Link. Provides accessible navigation. import { Link } from '@reach/router' <Link to="somewhere">Anywhere</Link>. to: string. The string URI to link to.
Read more >
Example - active-links - Reach Router
Accessibility · Credits and Trade-offs. Examples. Basic Usage · URL Params · Nested Routes · Active Links · Relative Links ... Router ·...
Read more >
Overview - Reach Router
Reach Router has a small footprint, supports only simple route patterns by design, and has strong (but experimental) accessibility features.
Read more >
Reach Router
Router. Matches children Route Components to the location and renders the matching child. children: elements. Router will match the location to the path...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found