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.
This commit is contained in:
Shinwoo Kim 2017-09-06 09:58:07 +09:00
parent 4b10cf2e40
commit 0e885e41e5
1 changed files with 7 additions and 1 deletions

View File

@ -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 */