Bug 42188 - ViewCell with focus does not recognise being tapped using keyboard on UWP
Summary: ViewCell with focus does not recognise being tapped using keyboard on UWP
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.3.0
Hardware: PC Windows
: Normal normal
Target Milestone: 2.4.0
Assignee: Samantha Houts [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2016-06-27 11:26 UTC by John Hardman
Modified: 2017-08-24 19:55 UTC (History)
8 users (show)

Tags: Windows UWP ViewCell Cell Tapped Accessibility Keyboard ac fr
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description John Hardman 2016-06-27 11:26:04 UTC
On UWP, the user can navigate between cells in a ListView using the cursor keys on the keyboard. However, neither hitting Space nor Return result in the currently focused cell having its Tapped event fired or OnTapped called. 

I have a custom cell that inherits from ViewCell, and that contains a StackLayout, that contains another StackLayout, that contains two Labels, so none of the views within the ViewCell are themselves tapable using the keyboard, but the ViewCell should be as it is focusable / selectable.

Without keyboard support on Windows desktop, accessibility cannot be implemented fully, which could put us in contravention of equality legislation.
Comment 3 Samantha Houts [MSFT] 2016-07-19 16:52:24 UTC
Should be fixed in 2.3.2-pre1. Thanks!
Comment 4 John Hardman 2016-07-19 17:03:35 UTC
I'm looking forward to giving it a try - keyboard support is great for both accessibility and for power users. It'll be good to be able to work using the keyboard on Windows (and hopefully Android and iOS later on :-) )
Comment 5 John Hardman 2017-02-23 15:25:09 UTC
@Samantha_Houts - Just tested against 2.3.3.193 . Still not working, on UWP or WinRT 8.1 . Also tried it on Android using a physical keyboard - no success there either.
Comment 6 Paul DiPietro [MSFT] 2017-02-23 17:01:04 UTC
John -- It looks like the code which was added to resolve this issue (for at least the case of the enter key) was in place, but for some reason removed between 2.3.2 and 2.3.3 when further additions to accessibility features were put in. I'll find out what happened here.
Comment 7 Chris King 2017-06-19 16:36:06 UTC
Assigned to you because bug you were last to resolve bug before it was re-opened.
Comment 8 Samantha Houts [MSFT] 2017-06-21 19:58:29 UTC
https://github.com/xamarin/Xamarin.Forms/pull/1005
Comment 9 Rui Marinho 2017-08-17 16:05:12 UTC
Should be fixed on 2.4.1-pre1