[TSAM-11194]Do not read button on app button focus. 79/121579/1
authorKamil Lipiszko <k.lipiszko@samsung.com>
Wed, 7 Dec 2016 11:41:57 +0000 (12:41 +0100)
committerLukasz Stanislawski <l.stanislaws@samsung.com>
Tue, 28 Mar 2017 09:06:09 +0000 (11:06 +0200)
Change-Id: I66232d3209332b6e9c9412a15f3c74419f7bf4c0

src/item.c

index c255bdd..2c4bbf9 100644 (file)
@@ -650,6 +650,10 @@ Evas_Object *item_create(Evas_Object *scroller, list_type_default_s *info)
        elm_object_part_content_set(item_inner, "focus", focus);
        evas_object_smart_callback_add(focus, "clicked", _clicked_cb, item);
        elm_atspi_accessible_name_set(focus, info->name);
+       elm_atspi_accessible_reading_info_type_set(focus,
+                               (ELM_ACCESSIBLE_READING_INFO_TYPE_NAME
+                               | ELM_ACCESSIBLE_READING_INFO_TYPE_STATE
+                               | ELM_ACCESSIBLE_READING_INFO_TYPE_DESCRIPTION));
        sprintf(description, format, info->name, info->name);
        elm_atspi_accessible_description_set(focus, description);