The discussion addresses a keyboard navigation regression affecting the user card feature. TechnoBear noted that while the Profile button was removed, users activating the card via keyboard still had to tab through the entire topic to access it. codinghorror assigned the task to eviltrout, who initially implemented a fix. However, cpradio and TechnoBear reported that the regression persisted, preventing focus from setting on the avatar or username when using j/k navigation followed by tab. cpradio successfully identified the root cause in a specific commit (d6ff163). eviltrout provided a rapid fix (e1d2673) involving an href attribute workaround. cpradio confirmed the solution works on Windows 7 Chrome 38, expressing appreciation for the quick resolution and the insight into afterRender hooks.
[quote=“codinghorror, post:27, topic:21660”]
<s>We could just remove the Profile button, under the assumption that people know to click the name / avatar to get the full user page?</s>
This is now done. Get to profile by clicking / tapping the big user avatar or name on the expanded card.
[/quote]If the usercard is activated by keyboard, it is currently necessary to tab through the entire topic before focus comes to the card, allowing access to the profile page.
Something has massively regressed. Using j/k to select a post and then pressing tab no longer sets the focus to the avatar/username (for me at least here on meta).
I can’t verify it is directly related to your changeset, it may be another one involved too, but something happened, and it happened recently. I’ll try looking at some commits in about 20 minutes or so to see if I can find it too. Found it.
Interesting… I wouldn’t have thought of a href attribute without any value would fix this. I’ll give it another test in an hour or so here on Meta (how often does Meta get updated?)
Confirmed as working on Windows 7 Chrome 38. Thanks for the quick fix and the lesson on afterRender I may use that to solve a few other keyboard related issues that I’ve put on the back-burner for now.