[ATSPI] Application of toast style to popup should be followed by ATSPI role change 14/284314/1 tizen_6.0
authorLukasz Oleksak <l.oleksak@samsung.com>
Tue, 15 Nov 2022 10:56:02 +0000 (11:56 +0100)
committerLukasz Oleksak <l.oleksak@samsung.com>
Tue, 15 Nov 2022 10:56:02 +0000 (11:56 +0100)
Change-Id: I478b0fc531c9ce6531ab10100f0468c860b51fa6

src/modules/information/toast_popup.c

index 5cb965d..170d794 100644 (file)
@@ -91,6 +91,7 @@ static void _post_toast_message(char *message)
 
        s_info.toast_popup = elm_popup_add(toast_window);
        elm_object_style_set(s_info.toast_popup, "toast");
+       elm_atspi_accessible_role_set(s_info.toast_popup, ELM_ATSPI_ROLE_NOTIFICATION);
        evas_object_size_hint_weight_set(s_info.toast_popup, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
        elm_object_text_set(s_info.toast_popup, message);