[AT-SPI] Set ImageView non-highlightable by default 31/259931/3
authorMaria Bialota <m.bialota@samsung.com>
Wed, 16 Jun 2021 11:48:47 +0000 (13:48 +0200)
committerMaria Białota <m.bialota@samsung.com>
Thu, 24 Jun 2021 16:27:37 +0000 (16:27 +0000)
Removed the line setting ACCESSIBILITY_HIGHLIGHTABLE property to true.

Until now the highlightability of the ImageView was overrided by an
AT-SPI Role check in dali-adaptor, so the line removed has been already
a dead code. Now the Role check has been removed and we want ImageView
to be non-highlightable by default.

From now on if we want to turn on highlightability for certain
instances of ImageView we can set the ACCESSIBILITY_HIGHLIGHTABLE
property in runtime.

Change-Id: Ide151a114d970f856217b34945d4c7e9cbbecda0

dali-toolkit/internal/controls/image-view/image-view-impl.cpp

index 556711f..f49f82d 100644 (file)
@@ -97,9 +97,6 @@ void ImageView::OnInitialize()
     return std::unique_ptr<Dali::Accessibility::Accessible>(
       new DevelControl::AccessibleImpl(actor, Dali::Accessibility::Role::IMAGE));
   });
-
-  //Enable highightability
-  Self().SetProperty(Toolkit::DevelControl::Property::ACCESSIBILITY_HIGHLIGHTABLE, true);
 }
 
 void ImageView::SetImage(const Property::Map& map)