From 2ea179d3734d7abfd620a31f1458cc662d69521f Mon Sep 17 00:00:00 2001 From: Lukasz Stanislawski Date: Mon, 13 Nov 2017 12:08:24 +0900 Subject: [PATCH] elm: set accurate access role for elm_popup Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5454 --- src/lib/elementary/elc_popup.c | 2 +- src/tests/elementary/elm_test_popup.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elementary/elc_popup.c b/src/lib/elementary/elc_popup.c index 3a2f221..e21c631 100644 --- a/src/lib/elementary/elc_popup.c +++ b/src/lib/elementary/elc_popup.c @@ -1529,7 +1529,7 @@ _elm_popup_efl_object_constructor(Eo *obj, Elm_Popup_Data *_pd EINA_UNUSED) obj = efl_constructor(efl_super(obj, MY_CLASS)); efl_canvas_object_type_set(obj, MY_CLASS_NAME_LEGACY); evas_object_smart_callbacks_descriptions_set(obj, _smart_callbacks); - efl_access_role_set(obj, EFL_ACCESS_ROLE_NOTIFICATION); + efl_access_role_set(obj, EFL_ACCESS_ROLE_DIALOG); return obj; } diff --git a/src/tests/elementary/elm_test_popup.c b/src/tests/elementary/elm_test_popup.c index 1cd2916..17b8433 100644 --- a/src/tests/elementary/elm_test_popup.c +++ b/src/tests/elementary/elm_test_popup.c @@ -18,7 +18,7 @@ START_TEST (elm_atspi_role_get) popup = elm_popup_add(win); role = efl_access_role_get(popup); - ck_assert(role == EFL_ACCESS_ROLE_NOTIFICATION); + ck_assert(role == EFL_ACCESS_ROLE_DIALOG); elm_shutdown(); } -- 2.7.4