Set atspi accessible role for screen reader support 07/162707/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Thu, 2 Nov 2017 05:21:43 +0000 (14:21 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Tue, 5 Dec 2017 04:17:43 +0000 (04:17 +0000)
Change-Id: I58ca4c29b7590748a2925d1a0b71e33ee2b6d82d
(cherry picked from commit ecceba6ff855152d9ecf6fa56cf24a0c60452b54)

src/sclcoreui-efl.cpp

index 8a2d07b..b00d7e6 100644 (file)
@@ -404,6 +404,7 @@ int CSCLCoreUIEFL::create(void *data)
     elm_win_keyboard_win_set(main_window, EINA_TRUE);
     elm_win_autodel_set(main_window, EINA_TRUE);
     elm_win_title_set(main_window, m_appid);
+    elm_atspi_accessible_role_set(main_window, ELM_ATSPI_ROLE_INPUT_METHOD_WINDOW);
     elm_win_prop_focus_skip_set(main_window, EINA_TRUE);
     int rots[] = { 0, 90, 180, 270 };
     elm_win_wm_rotation_available_rotations_set(main_window, rots, (sizeof(rots) / sizeof(int)));