jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=2ea179d3734d7abfd620a31f1458cc662d69521f

commit 2ea179d3734d7abfd620a31f1458cc662d69521f
Author: Lukasz Stanislawski <[email protected]>
Date:   Mon Nov 13 12:08:24 2017 +0900

    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 3a2f2213c1..e21c6311bc 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 1cd29163d2..17b8433b1d 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();
 }

-- 


Reply via email to