From: Lukasz Stanislawski Date: Tue, 14 Jul 2015 09:48:59 +0000 (+0200) Subject: popup: return action only if action_area is not set. X-Git-Tag: accepted/tizen/common/20160421.161517~9^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d806fc8bfe95728778ed7981fc1a98c5e16490da;p=platform%2Fupstream%2Felementary.git popup: return action only if action_area is not set. Purpose of this patch is to correctly inform screen reader that object should be presented to the end user. (Eg. highlighted) Conflicts: src/lib/elc_popup.c Change-Id: I8b9e790333cabcf61f3cf6047c0fdcd31b877f3f --- diff --git a/src/lib/elc_popup.c b/src/lib/elc_popup.c index 01acc87..dbec3c1 100644 --- a/src/lib/elc_popup.c +++ b/src/lib/elc_popup.c @@ -1974,15 +1974,12 @@ _elm_popup_elm_interface_atspi_widget_action_elm_actions_get(Eo *obj EINA_UNUSED static Elm_Atspi_Action atspi_actions[] = { //TIZEN_ONLY(20150709) : add keybinding for elm_popup "block,clicked" action { "escape", "escape", NULL, _key_action_escape}, -// - { "move,previous", "move", "previous", _key_action_move}, - { "move,next", "move", "next", _key_action_move}, - { "move,left", "move", "left", _key_action_move}, - { "move,right", "move", "right", _key_action_move}, - { "move,up", "move", "up", _key_action_move}, - { "move,down", "move", "down", _key_action_move}, { NULL, NULL, NULL, NULL } }; + if (pd->action_area) + return NULL; +/// + return &atspi_actions[0]; }