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.

[Breadcrumbs] Focus goes to top of page after expanding in IE11

See original GitHub issue
  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

In Internet Explorer 11, the focus is shifting to the top of the page after expanding the Breadcrumb list via keyboard.

(Note: if it helps to debug - after hitting the expand button, document.activeElement returns the <body> element of the page. This is also the case in Chrome and Firefox, but IE11 seems to handle the situation much differently.)

Expected Behavior 🤔

Focus should remain contained within the Breadcrumb list, possibly going to the next newly-revealed Breadcrumb.

Optionally, if there was some sort of available onExpand handler, this could probably be achieved via user implementation. (Unsure if this would constitute a separate issue all together, or even be a possible breaking change, but figured I’d put out the suggestion anyway.)

Steps to Reproduce 🕹

Using the current live documentation example of Collapsed Breadcrumbs, since I think codesandbox examples don’t render in IE11?

Steps:

  1. Navigate to the above example in IE11
  2. Tab to the expand ... button in the “Collapsed breadcrumbs” example
  3. Hit enter
  4. Hit tab again and observe that the focus is now on the “Skip to content” button at the top of the page

Context 🔦

Testing that the Breadcrumb component is adequately accessible for our users (which a decent majority still actively use IE11 😢)

Your Environment 🌎

Tech Version
Material-UI v4.9.6
React
Browser IE 11
TypeScript
etc.

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
sheerryycommented, Apr 3, 2020

@malouro @oliviertassinari Can I take this issue?

1reaction
malourocommented, Apr 4, 2020

@ShehryarShoukat96 feel free to take this, haven’t gotten the chance to get to it

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Breadcrumbs] Focus goes to top of page after expanding in ...
Steps to Reproduce · Navigate to the above example in IE11 · Tab to the expand ... button in the "Collapsed breadcrumbs" example...
Read more >
IE issue: wrong tab focus - Stack Overflow
I have a link at the very top of the page called "Skip Navigation", that appears on the screen every time user presses...
Read more >
Are we ready to get everyone off of IE…finally?
Open Computer Configuration > Administrative Templates > Microsoft Edge; Double click on Configure Internet Explorer integration; Select Enabled.
Read more >
Internet Explorer 11 keyboard shortcuts - Microsoft Support
Top shortcuts ; Go to your home page. (Not available). Alt + Home ; Delete browsing history. (Not available). Ctrl + Shift +...
Read more >
outline-offset - CSS: Cascading Style Sheets - MDN Web Docs
Tip : you can click/tap on a cell for more information. Full support: Full support. See implementation notes.
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