1. 19 Mar, 2018 1 commit
    • Yegor's avatar
      a11y: remove SemanticsSortOrder; sort locally only; semanticsOwner post-test check (#15537) · 9c49255f
      Yegor authored
      * a11y: remove SemanticsSortOrder; sort locally only; semanticsOwner post-test check
      
      * update accessibility test framework
      
      - default nextNodeId/previousNodeId to -1
      - stop treating null as opt-out from value testing
      - add `id`, `TestSemantics.root`, and `tags` to the suggested code in the TestSemantics failure message
      - fix a small bug with raw string escaping
      - update all tests accordingly
      
      * fix sortKey doc
      
      * prefer const over final
      9c49255f
  2. 14 Feb, 2018 3 commits
  3. 12 Feb, 2018 1 commit
    • Greg Spencer's avatar
      Swap nextNodeId for previousNodeId, since setTraversalBefore is broken. (#14607) · bfc68334
      Greg Spencer authored
      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.
      
      Fixes #14600
      bfc68334
  4. 06 Feb, 2018 1 commit
    • Greg Spencer's avatar
      Adds the semantic node traversal API. (#14060) · 14309b93
      Greg Spencer authored
      This adds an API for defining the semantic node traversal order.
      
      It adds a sortOrder argument to the Semantics widget, which is a class that can define a list of sort keys to sort on. The keys are sorted globally so that an order that doesn't have to do with the current widget hierarchy may be defined.
      
      It also adds a shortcut sortKey argument to the Semantics widget that simply sets the sortOrder to just contain that key.
      
      The platform side (flutter/engine#4540) gets an additional member in the SemanticsData object that is an integer describing where in the overall order each semantics node belongs. There is an associated engine-side change that takes this integer and uses it to order widgets for the platform's accessibility services.
      14309b93
  5. 09 Jan, 2018 1 commit
  6. 19 Dec, 2017 1 commit
  7. 15 Dec, 2017 1 commit
    • Yegor's avatar
      make date picker accessible (#13502) · 235b64ed
      Yegor authored
      * make date picker accessible
      
      * make test file lookup location-independent
      
      * address some comments
      
      * always wrap in IgnorePointer
      
      * no bitmasks for flags and actions
      
      * recommend List<*>
      235b64ed