Skip to content

Latest commit

 

History

History
52 lines (30 loc) · 1.48 KB

dragpattern-dragdroppattern-elements-requires-name-.md

File metadata and controls

52 lines (30 loc) · 1.48 KB
title description ms.assetid ms.topic ms.date
DragPattern/DragDropPattern elements requires Name
DragPattern/DragDropPattern elements requires Name
DEF58FB2-5830-4162-87D0-40DEC1237529
article
05/31/2018

DragPattern/DragDropPattern elements requires Name

Text

Elements that support Drag/Drop should have a valid 'Name' set

Type

Error

Description

The element supports either IUIAutomationDragPattern or IUIAutomationDropTargetPattern, but does not have a valid Name set.

This issue causes problems for people who rely on a screen-reader. The user will not be able to tell what this object is since the screen read will not read out a valid name to distinguish what this element is when dragging.

Possible causes

  • The element, or its parent, has an incorrectly assigned name or label.
  • A developer is not aware that screen readers read names and control types.

Related topics

IAccessible::get_accName

Name Property

UIA_NamePropertyId

IUIAutomationElement::CurrentName