Skip to content

Commit

Permalink
Revert "In browse mode in Microsoft Edge, it is now possible to navig…
Browse files Browse the repository at this point in the history
…ate to read-only edit fields with quick navigation commands e and f (re nvaccess#4164)"

This reverts commit d41a73f.
  • Loading branch information
Leonard de Ruijter committed Sep 27, 2016
1 parent a11804a commit bde80ab
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions source/NVDAObjects/UIA/edge.py
Expand Up @@ -472,14 +472,10 @@ def _iterNodesByType(self,nodeType,direction="next",pos=None):
condition=createUIAMultiPropertyCondition({UIAHandler.UIA_ControlTypePropertyId:UIAHandler.UIA_ListControlTypeId,UIAHandler.UIA_IsKeyboardFocusablePropertyId:False},{UIAHandler.UIA_ControlTypePropertyId:UIAHandler.UIA_TableControlTypeId})
return UIAControlQuicknavIterator(nodeType,self,pos,condition,direction)
elif nodeType=="edit":
condition=createUIAMultiPropertyCondition({UIAHandler.UIA_ControlTypePropertyId:UIAHandler.UIA_EditControlTypeId})
condition=createUIAMultiPropertyCondition({UIAHandler.UIA_ControlTypePropertyId:UIAHandler.UIA_EditControlTypeId,UIAHandler.UIA_ValueIsReadOnlyPropertyId:False})
return UIAControlQuicknavIterator(nodeType,self,pos,condition,direction)
elif nodeType=="formField":
condition=createUIAMultiPropertyCondition(
{UIAHandler.UIA_ControlTypePropertyId:UIAHandler.UIA_EditControlTypeId},
{UIAHandler.UIA_ControlTypePropertyId:UIAHandler.UIA_ListControlTypeId,UIAHandler.UIA_IsKeyboardFocusablePropertyId:True},
{UIAHandler.UIA_ControlTypePropertyId:[UIAHandler.UIA_CheckBoxControlTypeId,UIAHandler.UIA_RadioButtonControlTypeId,UIAHandler.UIA_ComboBoxControlTypeId,UIAHandler.UIA_ButtonControlTypeId]}
)
condition=createUIAMultiPropertyCondition({UIAHandler.UIA_ControlTypePropertyId:UIAHandler.UIA_EditControlTypeId,UIAHandler.UIA_ValueIsReadOnlyPropertyId:False},{UIAHandler.UIA_ControlTypePropertyId:UIAHandler.UIA_ListControlTypeId,UIAHandler.UIA_IsKeyboardFocusablePropertyId:True},{UIAHandler.UIA_ControlTypePropertyId:[UIAHandler.UIA_CheckBoxControlTypeId,UIAHandler.UIA_RadioButtonControlTypeId,UIAHandler.UIA_ComboBoxControlTypeId,UIAHandler.UIA_ButtonControlTypeId]})
return UIAControlQuicknavIterator(nodeType,self,pos,condition,direction)
elif nodeType=="nonTextContainer":
condition=createUIAMultiPropertyCondition({UIAHandler.UIA_ControlTypePropertyId:UIAHandler.UIA_ListControlTypeId,UIAHandler.UIA_IsKeyboardFocusablePropertyId:True},{UIAHandler.UIA_ControlTypePropertyId:UIAHandler.UIA_ComboBoxControlTypeId})
Expand Down

0 comments on commit bde80ab

Please sign in to comment.