Skip to content

Inconsistent UIA IsOffscreen and ClickablePoint properties for WPF ListViewItems that are scrolled out of view #4631

Closed

Description

@SamBent
  • .NET Core Version: (e.g. 3.0 Preview1, or daily build number, use dotnet --info) 3.0+
  • Windows version: (winver) all
  • Does the bug reproduce also in WPF for .NET Framework 4.8?: Yes
  • Is this bug related specifically to tooling in Visual Studio (e.g. XAML Designer, Code editing, etc...)? no
  • Security issues and bugs should be reported privately, learn more via our responsible disclosure guidelines.

Copied from internal .NET Framework bug 1161493, which contains additional information.

Problem description:

  1. Create a new WPF .NET Framework 4.8 app.

  2. Add the following XAML:

     <ListView Height="60">
         <ListViewItem Content="One" />
         <ListViewItem Content="Two" />
         <ListViewItem Content="Three" />
         <ListViewItem Content="Four" />
         <ListViewItem Content="Five" />
         <ListViewItem Content="Six" />
         <ListViewItem Content="Seven" />
         <ListViewItem Content="Eight" />
         <ListViewItem Content="Nine" />
         <ListViewItem Content="Ten" />
     </ListView>
    
  3. Run the app, verify that the ListView can only present a subset of the full item set, and scroll through the list such that all items have been viewed.

  4. Point the Accessibility Insights for Windows (AIWin) tool at the list, and review the failures that the tool reports.

Result: AIWin reports a failure of "An element's IsOffScreen property must be false when its clickable point is on screen" for all items scrolled out of view.

Expected: AIWin doesn't report failures for the default WPF experience.

This also happens for TreeView and DataGrid.

Activity

  1. added
    Accessibility
    on Jun 4, 2021
  2. added this to the 6.0.0 milestone on Jun 7, 2021
  3. added
    urgent
    on Jul 27, 2021
  4. modified the milestones: 6.0.0, 6.0.0 RC2 on Aug 17, 2021
  5. SamBent commented on Aug 20, 2021

    @SamBent
    ContributorAuthor

    Fixed in 6.0-rc1.

  6. ghost locked as resolved and limited conversation to collaborators on Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

.NET FrameworkAccessibilityBugurgent

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions