Skip to content

a11y traversal order top left to bottom right not always giving great results #12187

Closed

Description

@goderbauer

Traversal order in this screen shot is currently:

  1. Back button
  2. Shopping cart button
  3. Three dots button
  4. "SHRINE" title

I would expect SHRINE to come after the back button. However, the shipping cart button's bounding box has its top higher than the SHRINE title and is therefore traversed first in the current top left to bottom right approach.

img_0011

Activity

  1. goderbauer commented on Sep 27, 2017

    @goderbauer
    MemberAuthor

    As an idea to make this better: we could see if we can find out how Android defines traversal order for native apps.

  2. self-assigned this
    on Sep 27, 2017
  3. gspencergoog commented on Oct 13, 2017

    @gspencergoog
    Contributor

    I think this is what Android uses. It looks like they basically do left to right, top to bottom, but then allow the developer to move object hierarchies around by saying "this tree goes before this one" or "this tree goes after this one" in the traversal order. They prioritize the "goes before" setting over the "goes after" setting (so "goes after" doesn't happen if "goes before" exists).

  4. Hixie commented on Mar 7, 2018

    @Hixie
    Contributor

    For the AppBar specifically, let's just use our ordering API to set the order correctly.

  5. goderbauer commented on Mar 7, 2018

    @goderbauer
    MemberAuthor

    Similar bug for tab bar: #14375

  6. modified the milestones: 3: Current Milestone, on Apr 17, 2018
  7. github-actions commented on Aug 16, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  8. locked as resolved and limited conversation to collaborators on Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions