[AT-SPI] Remove Role check in AcceptObject 30/259930/4
authorMaria Bialota <m.bialota@samsung.com>
Wed, 16 Jun 2021 12:33:20 +0000 (14:33 +0200)
committerMaria Białota <m.bialota@samsung.com>
Thu, 24 Jun 2021 09:22:13 +0000 (09:22 +0000)
commit4414dfa5888bb3523c4a36fee89285317511d4c7
tree481696d0d107086baf3c602ee8a1b3832b780cea
parent177e1023cdb7fb21f9a9cfad861c1688c179eecd
[AT-SPI] Remove Role check in AcceptObject

Removed AcceptObjectCheckRole() method and its call in AcceptObject().

Checking the AT-SPI Role of the Component to decide whether it should be
highlighted or not is not needed, as by default all Components are
non-highlightable and highlightability is decided individually
in dali-toolkit by setting the ACCESSIBILITY_HIGHLIGHTABLE property.

From now on if we want to turn on highlightability for certain
Components, we can do this in dali-toolkit on a class level
or in runtime per individual instance of a Component.

Change-Id: I4777594550765b0b8335e47cd322d7d96590fe55
dali/internal/accessibility/bridge/bridge-accessible.cpp