atspi: not accept redundant leaf object 89/163689/2 accepted/tizen/unified/20171215.132215 submit/tizen/20171214.113147
authorShinwoo Kim <cinoo.kim@samsung.com>
Fri, 8 Dec 2017 07:54:54 +0000 (16:54 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Wed, 13 Dec 2017 02:17:59 +0000 (11:17 +0900)
commitafe9ef4f0fc670604259fcbce10b01a2364931eb
treec160f09602deecc64404b42cb22984ca7660f513
parent06716e3e57860e06dc8f2f8cd272602ce50e1937
atspi: not accept redundant leaf object

An object which role is ELM_ATSPI_ROLE_REDUNDANT_OBJECT, has been acceptable
so far regardless its children. So it was possible to find its children.
But it does not make sense to accept ELM_ATSPI_ROLE_REDUNDANT_OBJECT object if
it does not have children.

There was an issue on Browser application because we accepted REDUNDANT leaf
object. There is a button which role is ELM_ATSPI_ROLE_REDUNDANT_OBJECT, this
button would be used for conveying focus event to embedded web page.
The button was accepted, so it was not possible grab an object on web page.

Please refer to following part of accessibility tree. It is not possible to
get Elm_Atspi_Ewk_Wrapper, if Elm_Button is accepted for "GetNavigableAtPoint"

Elm_Layout
     - Elm_Button [redundant object][0,148,1080,1604]
     - Elm_Atspi_Ewk_Wrapper [embedded][0,148,1080,1604]

Change-Id: I355a913314d0132e0b0e0f7779e1d7c0b66b25db
src/lib/elm_widget.c