Skip to content

Conversation

@Nitin-100
Copy link
Contributor

@Nitin-100 Nitin-100 commented Jan 11, 2026

Description

This PR fixes a misleading screen reader announcement on FlatList items.

Why

In the "A FlatList with header and footer" section, Narrator announces "Tap to select this item" when navigating over each list item. However, tapping or activating the item does not perform any visible action - the items are not actually selectable despite the announcement implying interactivity.

This confuses screen reader users who attempt to interact with items that don't respond, leading to frustration and reduced trust in the interface.

What

  • NewArch/src/examples/FlatListExamplePage.tsx:
    • Removed accessibilityHint="Tap to select this item" from the renderAccessibleItem function
    • Changed accessibilityRole from "button" to "text" since items are non-interactive
    • Simplified accessibilityLabel to just display the item title

Screenshots

N/A - Accessibility fix, no visual changes

Testing

  1. Open the app with Windows Narrator enabled
  2. Navigate to All Samples > FlatList
  3. Navigate to the list items in "A FlatList with header and footer" section
  4. Verify Narrator no longer says "Tap to select this item"
  5. Verify items are announced simply as text (e.g., "Item 1") without implying they are interactive buttons
Microsoft Reviewers: Open in CodeFlow

Remove 'Tap to select this item' hint from non-interactive FlatList items and change accessibilityRole from button to text since the items don't perform any action.
Copy link
Contributor

@vineethkuttan vineethkuttan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/azp run

@vineethkuttan
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Nitin-100 Nitin-100 merged commit 062d9b3 into microsoft:main Jan 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants