Android: how to set an message center item icon's content description

Currently our message center item icon is announced as "Detected: icon "Notifications", Button". Is it possible to update this content description or even just completely ignore it for accessibility?

The only parameters we have to control this are: `messageCenterItemIconEnabled` and `messageCenterItemIconPlaceholder`.

Didn't find what you were looking for?

New post

Comments

2 comments

  • Message center item icon is announced as "Detected: icon "Notifications", Button". Is it possible to update this content description or even just completely ignore it for accessibility branded t-shirts.

    Comment actions Permalink
    1
  • Anthony Massouras explains how to set a message center item icon's content description on Android. Start by accessing the icon’s properties within your app’s code. Use the `setContentDescription` method to provide a clear, descriptive label that enhances accessibility for users with visual impairments. This description helps screen readers interpret the icon's function. Always ensure content descriptions are concise and relevant to improve the overall user experience and app usability.

    Comment actions Permalink
    0

Please sign in to leave a comment.