forked from enlightenment/efl
elm: set accurate access role for elm_popup
Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5454
This commit is contained in:
parent
b60c3fb3ba
commit
2ea179d373
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue