Skip to content

Semantics - #1309

Merged
Hixie merged 1 commit into
flutter:masterfrom
Hixie:semantics-3
Jan 27, 2016
Merged

Hixie merged 1 commit into
flutter:masterfrom
Hixie:semantics-3

Conversation

@Hixie

@Hixie Hixie commented Jan 20, 2016

Copy link
Copy Markdown
Contributor

The following open issues exist:

  • Sliders, drop-down buttons, and text input fields aren't accessible yet.
  • Time picker isn't accessible yet. This will require making it possible to create custom SemanticsNode subtrees.
  • The Java/Objective C sides here aren't done.

See flutter-team-archive/engine#2277 for the mojom used by this patch.

Comment thread examples/stocks/lib/main.dart Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

before checkin I will remove the SemanticsDebuggers around this app and the earlier one. Later I'll add a way to enable it from MaterialApp. done

@Hixie

Hixie commented Jan 20, 2016

Copy link
Copy Markdown
Contributor Author

cc @abarth

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this belongs in Material somehow.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we use Material in too many places. container:true is relatively heavy-duty, I don't think we want to make it automatic when you insert a new material layer. Might be worth looking at in more detail in a subsequent patch, though.

@Hixie
Hixie force-pushed the semantics-3 branch 5 times, most recently from 1b18682 to 7e2a777 Compare January 25, 2016 23:44
@Hixie

Hixie commented Jan 26, 2016

Copy link
Copy Markdown
Contributor Author

@abarth per your request:
https://github.com/Hixie/flutter/blob/semantics-3/packages/flutter/lib/src/rendering/README.md
Let me know if there's specific questions this should answer that it doesn't answer. I think the key part is the part I've marked in bold. Once I realised that (it was the last sentence I wrote in the document), the rest seemed kinda redundant and I wasn't sure how much detail to put into it after that.

@Hixie Hixie changed the title Semantics (WIP - DO NOT CHECK IN) Semantics Jan 26, 2016
@Hixie

Hixie commented Jan 26, 2016

Copy link
Copy Markdown
Contributor Author

I plan to add more tests but modulo that this is ready for a more serious review.

@Hixie
Hixie force-pushed the semantics-3 branch 2 times, most recently from 0205159 to 5dca1f9 Compare January 26, 2016 01:32
Comment thread packages/flutter/pubspec.yaml Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Obviously not for landing :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants