Change dummy object atspi role 88/96888/1
authorMarcin Niesluchowski <m.niesluchow@samsung.com>
Thu, 10 Nov 2016 10:28:19 +0000 (11:28 +0100)
committerMarcin Niesluchowski <m.niesluchow@samsung.com>
Thu, 10 Nov 2016 12:28:31 +0000 (13:28 +0100)
At point accessibility interface propagation stops on atspi with redundant
objects role. This disallows selection of webview accessibility elements, as
background which has that role is set to parent of ewk view.

Change background atspi role to filler.

This also reverts following change:
* c4c4caa Dummy button should be invisible to accessibility

Change-Id: I900651d7458e4b92fb1c89ace2a935d2d00eb2dd
Signed-off-by: Marcin Niesluchowski <m.niesluchow@samsung.com>
runtime/browser/native_window.cc

index 27b5c10..5712dff 100755 (executable)
@@ -134,9 +134,8 @@ void NativeWindow::Initialize() {
   elm_object_part_content_set(top_layout, "elm.swallow.content", focus);
   EVAS_SIZE_EXPAND_FILL(focus);
   elm_access_object_unregister(focus);
+  elm_atspi_accessible_role_set(focus, ELM_ATSPI_ROLE_FILLER);
   evas_object_show(focus);
-  elm_atspi_accessible_role_set(focus, ELM_ATSPI_ROLE_REDUNDANT_OBJECT);
-  elm_atspi_accessible_can_highlight_set(focus, EINA_FALSE);
   focus_ = focus;
 
   // focus callback