Skip to content

SemanticProperties do not work on ToolbarItems #23623

@SovdEi

Description

@SovdEi

Description

When setting SemanticProperties.Description or SemanticProperties.Hint on a ToolbarItem both do not work. When I try to use them on other controls, like a Button it works as expected. I have tested the accessibility only on iOS and Android. On iOS I have used the Accessibility Inspector and an iOS Simulator. Here it doesn't show the Description and the Hint. For Android I have used Talkback on an Android Emulator. Here the device doesn't read the desired Description or the Hint.

Steps to Reproduce

  1. Create a new MAUI App
  2. Put the Main Page in a Navigation Page
  3. Put in a ToolbarItem into the MainPages ContentPage.ToolbarItems Property
  4. Set SemanticProperties.Hint and SemanticProperties.Description on the Toolbar to any value

Link to public reproduction project repository

No response

Version with bug

8.0.40 SR5

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android, I was not able to test on other platforms

Affected platform versions

iOS 17.2; Android 14.0

Did you find any workaround?

You can still use the Deprecated AutomationProperties.Name instead of SemanticProperties.Description.

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions