From c4c4caa67db972376de72da5cf8f82d29234d062 Mon Sep 17 00:00:00 2001 From: DongJun Kim Date: Mon, 31 Oct 2016 16:39:31 +0900 Subject: [PATCH] Dummy button should be invisible to accessibility Change dummy button accessible role to REDUNDANT_OBJECT and dissable option of being highlighted. Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2381 Change-Id: I5e55048da697b3ad2fd039d1fd933e93fc385a1b Signed-off-by: DongJun Kim --- runtime/browser/native_window.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/browser/native_window.cc b/runtime/browser/native_window.cc index fd40a02..27b5c10 100755 --- a/runtime/browser/native_window.cc +++ b/runtime/browser/native_window.cc @@ -135,6 +135,8 @@ void NativeWindow::Initialize() { EVAS_SIZE_EXPAND_FILL(focus); elm_access_object_unregister(focus); 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