Bug 1813616 Comment 3 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Posting some notes from doing some investigation today:

I tried two approaches

#### Approach 1 - Pass a boolean down from the tab list/grid root container to do a one-time focus request on the tab
- Tab items themelves will perform the focus request use `FocusRequester` and `Modifier.focusRequester`

Result
- The focus requester wasn’t working

#### Approach 2 - Attempt to use [traversal groups](https://developer.android.com/jetpack/compose/accessibility#modify-traversal-order) in the Modifier.semantics node
- The banner would have a traversal index to be placed after the tabs

Result:
- Traversal order was seemingly not working either.
    - May need a simpler example of traversal groups before trying to apply it to something as complex as Tabs Tray.
Posting some notes from doing a couple hours of investigation today:

I tried two approaches

#### Approach 1 - Pass a boolean down from the tab list/grid root container to do a one-time focus request on the tab
- Tab items themelves will perform the focus request use `FocusRequester` and `Modifier.focusRequester`

Result
- The focus requester wasn’t working

#### Approach 2 - Attempt to use [traversal groups](https://developer.android.com/jetpack/compose/accessibility#modify-traversal-order) in the Modifier.semantics node
- The banner would have a traversal index to be placed after the tabs

Result:
- Traversal order was seemingly not working either.
    - May need a simpler example of traversal groups before trying to apply it to something as complex as Tabs Tray.

Back to Bug 1813616 Comment 3