Skip to content

Add a semanticsLabel for the BottomNavigationBarItem #180621

Description

@Lilian-C

Use case

Currently, BottomNavigationBarItem uses the label property for both visual display and accessibility (screen readers) in the BottomNavigationBar widget. This creates a problem when we need to provide additional context for screen reader users.

Proposal

I already have an associated PR that adds a String semanticsLabel property to BottomNavigationBarItem

An alternative approach could be to replace the current String label with a Widget label, giving developers full control over both the visual content and its accessibility semantics. However, this would be a breaking change.

Happy to adjust the implementation based on your feedback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)c: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions