From 049b53f534f8764e2ff0b8c2527a29b340f51a4c Mon Sep 17 00:00:00 2001 From: Marcin Niesluchowski Date: Thu, 10 Nov 2016 11:28:19 +0100 Subject: [PATCH] Change dummy object atspi role 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 --- runtime/browser/native_window.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/runtime/browser/native_window.cc b/runtime/browser/native_window.cc index 27b5c10..5712dff 100755 --- a/runtime/browser/native_window.cc +++ b/runtime/browser/native_window.cc @@ -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 -- 2.7.4