Michael Goderbauer
47f4a2aad4
Remove assert for unsupported SemanticsEvents ( #5349 )
...
Not all platforms are expected to handle all SemanticsEvents. Therefore, it is ok to just drop unsupported events on the floor.
2018-05-23 16:05:15 -07:00
Yegor
f876bd5710
split children into two ordered lists: traversal and hit test ( #5091 )
...
* split `children` into two ordered lists: traversal and hit test
* address comments
* reduce node object byte size
* link to DebugSemanticsDumpOrder
2018-05-21 17:44:23 -07:00
Michael Goderbauer
eb4d823557
Re-add ACTION_LONG_CLICK for Android a11y ( #5330 )
2018-05-21 11:29:50 -07:00
Michael Goderbauer
a7b44d4ab0
Only send a11y events if a11y is turned on ( #5281 )
2018-05-16 13:12:56 -07:00
Jonah Williams
93b85ee68a
Add Android accessibility bridge support for "longPress" and "tap" semantic events
2018-05-02 17:24:29 -07:00
Jonah Williams
e11905c6e5
Add tooltip method to Android AccessibilityBridge ( #5103 )
2018-04-26 15:03:47 -07:00
Yegor
ec611470b5
replace nextNodeId/previousNodeId with hitTestPosition ( #5066 )
2018-04-23 16:16:17 -07:00
Jason Simmons
232060828a
Fix syntax error in AccessibilityBridge ( #5059 )
2018-04-20 13:54:27 -07:00
Michael Goderbauer
995633ef49
Add SemanticsFlag.isHidden ( #5052 )
2018-04-20 10:37:02 -07:00
Jonah Williams
3405e23a32
AccessibilityBridge support for edge triggered semantics (iOS + Android) ( #4901 )
...
AccessibilityBridge support for edge triggered semantics (iOS + Android)
2018-04-19 11:14:47 -07:00
Michael Goderbauer
c3ab0c9143
Rename isPassword to isObscured ( #4815 )
2018-03-19 15:52:16 -07:00
Jason Simmons
a9b5e1bdac
Fix a missing paren ( #4808 )
2018-03-19 12:07:28 -07:00
Michael Goderbauer
cc6b45014b
Support password fields on Android ( #4781 )
2018-03-19 10:25:09 -07:00
Michael Goderbauer
7d9e42ac61
Add API guard to a11y setTraversalAfter ( #4794 )
2018-03-15 10:15:56 -07:00
Michael Goderbauer
d042b3e830
Send TYPE_VIEW_SELECTED event for changes to SemanticsFlag.isSelected ( #4780 )
2018-03-13 12:49:30 -07:00
Michael Goderbauer
7f7634fa17
Add SemanticsFlag for Header ( #4752 )
2018-03-06 15:43:13 -08:00
Michael Goderbauer
16fe8f6b98
Use android.view.View as default for a11y nodes ( #4737 )
2018-03-05 09:51:08 -08:00
Michael Goderbauer
a4b1fccdaa
Fix traversal order for a11y scrolling ( #4726 )
...
Fixes https://github.com/flutter/flutter/issues/14987 , but why?
2018-03-01 04:53:58 -08:00
Greg Spencer
f5a4a93787
Swap setTraversalBefore to setTraversalAfter, since setTraversalBefore is broken. ( #4656 )
...
It seems that setTraversalBefore doesn't work as well as setTraversalAfter for some reason, although I'm using them the same way. Some apps would lock up TalkBack when traversing if setTraversalBefore was set, but not with the equivalent setTraversalAfter.
It's not entirely clear why this is, but I'm going with this to at least get it fixed for apps we know about.
Addresses flutter/flutter#14600
See also flutter/flutter#14607
2018-02-12 10:02:25 -08:00
Michael Goderbauer
a00f94582b
Add accessibilityFocus and loseAccessibilityFocus as a11y actions ( #4655 )
2018-02-09 17:47:52 -08:00
Michael Goderbauer
8ac6f6efa1
Encode scrolling status into tree ( #4647 )
2018-02-09 15:39:58 -08:00
Greg Spencer
96acd1a383
Adding semantics traversal order support ( #4540 )
...
This adds support for semantics traversal ordering.
It is a companion to flutter/flutter#14060 , adding support for a sortIndex in the semantics data passed to the engine.
Addresses flutter/flutter#12187
2018-01-30 13:42:12 -08:00
Michael Goderbauer
3107f167dc
Remove unnecessary trim ( #4616 )
...
... which caused trouble for a11y "select all".
2018-01-29 18:12:29 -08:00
Michael Goderbauer
a1e4f2f991
Add semantic actions for copy, cut, and paste ( #4592 )
2018-01-26 12:11:38 -08:00
Michael Goderbauer
7c34dfafc9
Adds a11y action for selecting text (and moving cursor) ( #4589 )
...
See https://github.com/flutter/flutter/pull/14275 for framework side change.
Also includes some minor clean-ups for consistency.
Required for https://github.com/flutter/flutter/issues/13469 .
2018-01-25 15:00:29 -08:00