WinRT QPA: Fix mapping of static text accessibility role

QAccessible::StaticText should be mapped to AutomationControlType_Text
instead of AutomationControlType_Edit.

Change-Id: If8c840f0dea553c1a750225586778a7d24cf424a
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
bb10
Andre de la Rocha 2018-08-16 16:45:26 +02:00
parent d26289ffb4
commit df91fd1198
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ AutomationControlType roleToControlType(QAccessible::Role role)
{QAccessible::PropertyPage, AutomationControlType::AutomationControlType_Custom},
{QAccessible::Indicator, AutomationControlType::AutomationControlType_Custom},
{QAccessible::Graphic, AutomationControlType::AutomationControlType_Image},
{QAccessible::StaticText, AutomationControlType::AutomationControlType_Edit},
{QAccessible::StaticText, AutomationControlType::AutomationControlType_Text},
{QAccessible::EditableText, AutomationControlType::AutomationControlType_Edit},
{QAccessible::Button, AutomationControlType::AutomationControlType_Button},
{QAccessible::CheckBox, AutomationControlType::AutomationControlType_CheckBox},