[Tizen][AT-SPI] Allow manual control of ReadingMaterial::listChildrenCount 89/293389/1
authorArtur Świgoń <a.swigon@samsung.com>
Thu, 25 May 2023 11:01:24 +0000 (13:01 +0200)
committerArtur Świgoń <a.swigon@samsung.com>
Thu, 25 May 2023 11:01:55 +0000 (13:01 +0200)
commit4495049cc5078f0685c84ebe89cf5b8951133b5e
tree4e20bd040a51dffdfcc14dc82035b46e515ea398
parent47312e3ff0bddcd056f4b9e65c822237ec48f275
[Tizen][AT-SPI] Allow manual control of ReadingMaterial::listChildrenCount

In complex UIs, where the logical number of children (i.e. not the number of
Actors) is difficult to determine, because (1) the children have differing
roles, or (2) the children are not direct descendants of the parent object, the
best-effort calculation done by the AT-SPI bridge (for the purpose of reading
"Showing %d items") will often be wrong.

This patch recognizes the "item_count" attribute as a high-priority, manual
setting of the number of children for the purpose of reading "Showing %d
items" with the provided value.

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