[ATSPI] Application of toast style to popup should be followed by ATSPI role change 51/284451/1 tizen_7.0
authorLukasz Oleksak <l.oleksak@samsung.com>
Tue, 15 Nov 2022 10:56:02 +0000 (11:56 +0100)
committerLukasz Oleksak <l.oleksak@samsung.com>
Thu, 17 Nov 2022 08:58:52 +0000 (08:58 +0000)
Change-Id: I478b0fc531c9ce6531ab10100f0468c860b51fa6
(cherry picked from commit c8bb56964c02fb38f3be0fd8922a9deba0945a83)

src/modules/information/toast_popup.c

index 5cb965d9f54c1536854d04e97a26f00ad2fa3711..170d794e74d739a3fd649519f161f15e8923fc39 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);