Skip to content

Chips Demo in Gallery not accessible #16964

Closed

Description

@goderbauer

For the chips with the delete button you can only focus on the delete button. You can't focus the chip text.

The focus frame around the different titles of this page are also to big.

/cc @gspencergoog

Activity

  1. added
    p: material_uimaterial_ui package in flutter/packages
    customer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.
    a: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)
    on Apr 25, 2018
  2. self-assigned this
    on Apr 25, 2018
  3. jonahwilliams commented on Apr 26, 2018

    @jonahwilliams
    Contributor

    In another app with chips I noticed that the entire chip is tappable instead of just the X

  4. goderbauer commented on Apr 26, 2018

    @goderbauer
    MemberAuthor

    @jonahwilliams was that a Flutter app?

  5. gspencergoog commented on Apr 26, 2018

    @gspencergoog
    Contributor

    In some legacy apps (before the other kinds of Chip were invented), they wrap a GestureDetector around the entire Chip, so it could be one of those.

  6. jonahwilliams commented on Jul 11, 2018

    @jonahwilliams
    Contributor

    I've improved the tap handling of the demo - however we should consider updating the demo to not use the "X" icons.

  7. gspencergoog commented on Jul 11, 2018

    @gspencergoog
    Contributor

    How would that work exactly? They need to have delete buttons for the demo to function (part of the demo is removing things and seeing the available actions change). Or do you just mean to literally use a different icon for the delete icon?

  8. jonahwilliams commented on Jul 11, 2018

    @jonahwilliams
    Contributor

    From the internal guidelines - chips on touch devices should not show the secondary trailing affordance by default. I think it is probably okay since it is really just a demo of the capabilities.

  9. gspencergoog commented on Jul 11, 2018

    @gspencergoog
    Contributor

    I think they just mean that not all chips should have delete buttons. I think they generally want there to be a "chip editing mode" which you go into in order to delete the chips, but that normally they're not visible. Once we have a "ChipField" widget that lets you enter chips and text together, then that will have such a mode, and the delete buttons on the embedded chips will only appear when it's in that mode. We can add it to the demo then.

  10. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Jul 22, 2018
  11. jonahwilliams commented on Sep 7, 2018

    @jonahwilliams
    Contributor

    This is mostly done, but I have not implemented the semantics for chips with 2 or more actions since they are not supported for accessibility on mobile devices

  12. added this to the milestone on Feb 14, 2019
  13. removed their assignment
    on Jul 10, 2019
  14. self-assigned this
    on Jan 13, 2020
  15. clocksmith commented on Jan 13, 2020

    @clocksmith
    Contributor

    The material chips on android have separate semantic nodes for the delete button on all chips (they also show a demo of a chip that is both selectable and deletable)

  16. clocksmith commented on Jan 13, 2020

    @clocksmith
    Contributor

    Closing since the gallery works as expected. But opened #48739 for better behavior when there is a delete option

  17. github-actions commented on Aug 15, 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.

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

Metadata

Metadata

Assignees

Labels

a: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)customer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.frameworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packages

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions