Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support tab stop behaviors for controls #886

Closed
rozele opened this issue Nov 16, 2016 · 2 comments
Closed

Support tab stop behaviors for controls #886

rozele opened this issue Nov 16, 2016 · 2 comments

Comments

@rozele
Copy link
Collaborator

rozele commented Nov 16, 2016

For any accessible UI, we'll need to support tab stops. I think this could go one of two ways:

  1. Add tab stop support to all react-native views and a new view prop for isTabStop.
  2. Perform all tab-stop related navigation in JavaScript

Option 1 will likely be a bit more expensive to implement, as we'll likely have to convert many react-native views to controls (or at least the important ones). Option 2 is likely not a good option at all as it will be very difficult to integrate with the native narrator behavior.

rozele added a commit to rozele/react-native-windows that referenced this issue Sep 16, 2017
Allow, e.g., View buttons to be focusable. This is the first step, the next step is to add a JS native event listener that tracks the currently focused element to re-route keyboard input.

Towards microsoft#886
rozele added a commit to rozele/react-native-windows that referenced this issue Oct 5, 2017
ControlWindows is a UserControl with a single child Canvas. It has props to enable tab stop, tab index, keyboard navigation mode, and keyUp/Down events.

Fixes microsoft#886
@rozele
Copy link
Collaborator Author

rozele commented Oct 5, 2017

Option 3. in #1411 is to create a wrapper control component that can manage all the tab stop behavior and keep all other controls the same. This may be a "good-enough" balanced approach.

rozele added a commit to rozele/react-native-windows that referenced this issue Oct 5, 2017
ControlWindows is a UserControl with a single child Canvas. It has props to enable tab stop, tab index, keyboard navigation mode, and keyUp/Down events.

Fixes microsoft#886
@rozele
Copy link
Collaborator Author

rozele commented Feb 13, 2018

Closed by #1546 (ad42d1f)

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

No branches or pull requests

1 participant