Problem:
In elm-tizen-demo-mobile > Check for disabled widgets the following hint
is read "Double tap to select", which is missleading for the user
as disabled widget cannot be operated with gestures. Checks against
the ENABLED satate has been added before individually for some widget types,
but it seams to be a general rule not to read usage hint for disabled widgets.
This patch adds global rule to not read default description for disabled widgets.
Change-Id: Ia2f054fd84511808c8d81f3b9777a8d84f3e4f96
if (eina_strbuf_length_get(buf2))
ESAL(buf2, " , ");
ESAL(buf2, description);
- } else {
+ } else if (STATE_SET_CONTAINS(rm->states, ATSPI_STATE_ENABLED)) {
if (read_description)
description_from_role = generate_description_trait(rm);