Adding Semantics to Flutter Table

76 views
Skip to first unread message

Chris Norman

unread,
Jan 19, 2022, 8:28:04 AM1/19/22
to mi...@dartlang.org
Hi all,
I'm using the Flutter `Table` widget. I want the top row to be table headers, so I've made me a row of `Text` widgets.

Now I want to add header information to the data in the table, so that when screen readers navigate through the table with arrow keys (I've added `Focus` widgets), they'll know which column they're in.

I can achieve this by using the `label` argument to `Semantics`, but I feel like there should be some kind of `identifiedBy` argument or something. I thin the ARIA spec has something like what I'm after, found here.

Is there a better way?

Thanks in advance.

Take care,

Chris Norman

Reply all
Reply to author
Forward
0 new messages