FirefoxUX / photon

Firefox’s Photon Design System.
https://design.firefox.com/photon/
Mozilla Public License 2.0
274 stars 74 forks source link

link style confusion - how to handle "focus" after "active" #303

Open shane-tomlinson opened 6 years ago

shane-tomlinson commented 6 years ago

In https://design.firefox.com/photon/components/links.html, the "focus" state shows a blue ring around the link. Is this state to show after the user has clicked the link but before the page has redirected? A link receives "focus" when it is clicked, if it takes some time for the page to redirect to the new page, the link shows the focus state.

rugk commented 6 years ago

Additionally, if the link opens in a new tab, once the user switches back to the current tab, the just clicked link still has the focus, i.e. the user still sees that blue thing around it.

Funnily I have never seen that behaviour in any Firefox/Mozilla site as they all do not seem to adhere to the focus style and just leave it out.