[AT-SPI] Set CanvasView non-highlightable by default 31/260031/5
authorMaria Bialota <m.bialota@samsung.com>
Thu, 17 Jun 2021 19:20:24 +0000 (21:20 +0200)
committerMaria Białota <m.bialota@samsung.com>
Thu, 1 Jul 2021 10:07:54 +0000 (10:07 +0000)
Removed the line setting ACCESSIBILITY_HIGHLIGHTABLE property to true.

Until now the highlightability of the CanvasView was overrided by an
AT-SPI IMAGE 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
CanvasView to be non-highlightable by default.

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

Change-Id: Ie6d695c6aa61f77e34029481e46ccd3b7fea7ac0

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

index 342784a..6d310cf 100644 (file)
@@ -91,8 +91,6 @@ void CanvasView::OnInitialize()
       new DevelControl::AccessibleImpl(actor, Dali::Accessibility::Role::IMAGE));
   });
 
-  Self().SetProperty(Toolkit::DevelControl::Property::ACCESSIBILITY_HIGHLIGHTABLE, true);
-
   Adaptor::Get().RegisterProcessor(*this);
 }