- From: Jan Miksovsky via GitHub <sysbot+gh@w3.org>
- Date: Tue, 15 Nov 2016 23:08:32 +0000
- To: public-css-archive@w3.org
This would be great to have! This would address one of the big problems we've had implementing focus in web components. The other big problem: there's no consistent way to ask that the standard focus appearance be applied to an element. The case we've hit here is a custom combo box that contains an input element and a dropdown button. * We want the standard focus appearance to be applied to the entire combo box, not just the input element. * At the same time, we actually want the input element to have the focus. As with many combo boxes (e.g., Windows combo boxes, Chrome's address bar), we don't need the dropdown button focusable, relying instead on arrow keys to invoke them. * Hence, we want to tell the browser: Make this outer element look focused, don't make the actual input element look focused. * Unfortunately, we're not aware of any standard CSS that lets us apply the browser's own focus appearance to an element. Could you possible tackle this problem at the same time as `:focusring`? -- GitHub Notification of comment by JanMiksovsky Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/709#issuecomment-260799826 using your GitHub account
Received on Tuesday, 15 November 2016 23:08:38 UTC