When you go through the page using tab key (for example, tabs demo) you can see no indicator of that the md-tabs element have recieved focus. But if you use arrow key to navigate through md-tabs, visual indicator appears, and keeps working properly.
Visual indicator appears immediately that the focus is set on md-tabs element.
Visual focus is not present than it should be.
Accessibility guideline: "Confirm that a visual indicator is present for each element that currently has keyboard focus."
Can confirm this is an issue on 1.1.10 as well
It looks like this is working properly in 1.1.4 and that this is a regression introduced in 1.1.5.
This is probably related to one of the following:
After a git bisect, it looks like
tabs: accessibility and keyboard interaction fixes (#10706) (072f832), closes #10075
is causing the issue. I'm going to take a closer look.
I currently have the tab focus working in master, but I just checked out a diff of the files from the parent of the bad commit. It looks like the issues reside in a combination of tabsController.js and tabsDirective.js. I'm going to see if I can figure out what exactly is causing the focus to disappear by removing diffs one by one 🤷♂️
Fixed, going to make a PR soon.
Thank you so much! Cool that you fixed it!
Most helpful comment
Thank you so much! Cool that you fixed it!