- From: Alastair Campbell <acampbell@nomensa.com>
- Date: Sat, 25 Aug 2018 09:40:20 +0000
- To: Detlev Fischer <detlev.fischer@testkreis.de>
- CC: WCAG group <w3c-wai-gl@w3.org>
Received on Saturday, 25 August 2018 09:40:45 UTC
> That script relates to Heydon’s toggletip, not the tooltip - i.e. one that is triggered not by focusing/hovering, but by activation. Still not sure whether it therefore can apply in quite the same way to true hover/focus content. We need to separate ‘true hover’ into two: 1. Hover from CSS 2. Hover from JavaScript In general you can only close something with JavaScript that was opened with JavaScript. Patrick and I discussed this on twitter a bit: https://twitter.com/alastc/status/1032200444259516416?s=21 I guess it might be possible to create a function that detects anything that in in a CSS-focused state, but I don’t think it would be able to undo the action that the CSS created. However, the general conclusion is that use of CSS-only hover (or focus-within) fails 1.4.13. I don’t think that’s a bad thing, CSS-only drop-down / hover menus tend to fail on multiple SC already. Cheers, -Alastair
Received on Saturday, 25 August 2018 09:40:45 UTC