kimcinoo pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=0e885e41e50b625be39ade8846be9861cc010081

commit 0e885e41e50b625be39ade8846be9861cc010081
Author: Shinwoo Kim <cinoo....@samsung.com>
Date:   Wed Sep 6 09:58:07 2017 +0900

    elementary: enhance accessible name of elm_entry
    
    The accessible name of elm_entry was guide text.
    The accessible name of elm_entry should be its text.
    If there is not text information, then guide text is using for accessible 
name.
---
 src/lib/elementary/elm_entry.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/lib/elementary/elm_entry.c b/src/lib/elementary/elm_entry.c
index 8631b4f388..b317e77124 100644
--- a/src/lib/elementary/elm_entry.c
+++ b/src/lib/elementary/elm_entry.c
@@ -6038,8 +6038,14 @@ _elm_entry_elm_interface_atspi_accessible_name_get(Eo 
*obj, Elm_Entry_Data *sd)
    const char *name;
    name = elm_interface_atspi_accessible_name_get(efl_super(obj, 
ELM_ENTRY_CLASS));
    if (name && strncmp("", name, 1)) return name;
+
+   if (sd->password) return NULL;
+
+   name = _elm_util_mkup_to_text(elm_entry_entry_get(obj));
+   if (name && strncmp("", name, 1)) return name;
+
    const char *ret = edje_object_part_text_get(sd->entry_edje, "elm.guide");
-   return ret;
+   return _elm_util_mkup_to_text(ret);
 }
 
 /* Efl.Part begin */

-- 


Reply via email to