[Webkit-unassigned] [Bug 50126] Fallback content in canvas element not focusable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 17 03:04:44 PST 2011


--- Comment #23 from Mario Sanchez Prada <msanchez at igalia.com>  2011-02-17 03:04:44 PST ---
Yet another thought on this test

(In reply to comment #21)
> In LayoutTests/accessibility/canvas-fallback-content.html:
> [...]
> +            var fallback = document.getElementById("fallback");
> +            fallback.focus();
> +
> +            var accessibilityFocusedElement = accessibilityController.focusedElement;
> +            
> +            var pattern = "AXRole: AXCheckBox";

As far as I now the actual name of the accessibility roles depends on the platform (e.g. Mac: "AXCheckBox" / Atk: "check box"), so perhaps it would be a good idea to place the expected files for these kind of tests under the platform/ directory.

I know there are already many tests printing AX roles not in the platform/ directory, but those are not failing since they're in the Skipped file at the moment. But at some point it would be good to get them fixed and then we'll have the same issue than now, so I guess we could consider doing this for new tests from now on, unless I'm missing something of course :-)

Another approach would be to overwrite the general behavior by "adding" another expected file in platform/port when it differs from the general expected file, but as it seems this does not only affect to Mac and GTK, I think the other approach would be better.


Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list