Steps to reproduce
The existing :focus pseudoclass is useful for determining if an element has logical focus, but not whether than element should have a visual focus indicator. A common problem is that buttons and links get focused when clicked, resulting in lingering visual focus styles. Due to this problem, many developers actively avoid adding any focus styling which reduces accessibility.
The CSS WG has proposed the :focusring pseudoclass to apply to elements that are both focused and should have a focus indicator drawn. This has previously been implemented in Firefox as :-moz-focusring.
CSS Spec: https://github.com/w3c/csswg-drafts/pull/709
Moz-focusring docs: https://developer.mozilla.org/en-US/docs/Web/CSS/:-moz-focusring
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Bogdan B.”
Changed Status to “Confirmed”