You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2024. It is now read-only.
As an app developer, I currently am unable to specify an expected focus/tab order for elements in my Xamarin.Forms app that will be used by a screen reader and/or keyboard navigation to improve the usability and accessibility of the app. When this spec is complete, I can explicitly set the TabIndex on any focusable element to have it read to the app user and/or prepare it for input in a particular order.
Acceptance criteria
Solution must enable app developer to set an integer value on Element.TabIndex with the expectation that focus will cycle through each element in ascending order.
Conflicts on TabIndex will be resolved by the declaration order.
If no value is set in TabIndex, the default behavior will be used.
If the app developer attempts to set a focus order using a custom renderer, the values set by the custom renderer should take precedence.
Per the UWP specification:
UI elements with TabIndex equal to 0 are added to the tab order based on declaration order in XAML or child collections.
UI elements with TabIndex greater than 0 are added to the tab order based on the TabIndex value.
UI elements with TabIndex less than 0 are added to the tab order and appear before any zero value.
Description
As an app developer, I currently am unable to specify an expected focus/tab order for elements in my Xamarin.Forms app that will be used by a screen reader and/or keyboard navigation to improve the usability and accessibility of the app. When this spec is complete, I can explicitly set the
TabIndexon any focusable element to have it read to the app user and/or prepare it for input in a particular order.Acceptance criteria
Element.TabIndexwith the expectation that focus will cycle through each element in ascending order.TabIndexwill be resolved by the declaration order.TabIndex, the default behavior will be used.Per the UWP specification:
TabIndexequal to 0 are added to the tab order based on declaration order in XAML or child collections.TabIndexgreater than 0 are added to the tab order based on theTabIndexvalue.TabIndexless than 0 are added to the tab order and appear before any zero value.API changes
Add:
int Element.TabIndex { get; set; }Description of changes