atspi: not accept redundant leaf object 79/163279/1
authorShinwoo Kim <cinoo.kim@samsung.com>
Fri, 8 Dec 2017 07:54:54 +0000 (16:54 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Fri, 8 Dec 2017 07:54:54 +0000 (16:54 +0900)
commitaf7e78918a61cb7e5514eec82c98b12f36e7071c
treea3a9ad0c035bf66cd953417d91d2338f15666942
parentae85ad7030aae275f713817e6601d27986e03d55
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