dequelabs / Deque-University-for-Android

All you need to improve the Accessibility of your Android Applications in one place! Build the application to see Accessible Examples, check out Attest for debugging tools, or post an Issue to leverage our community of Android Accessibility experts.
https://www.deque.com/
Other
27 stars 9 forks source link

Custom Edit Text #43

Open chriscm2006 opened 5 years ago

chriscm2006 commented 5 years ago

We should develop an accessible EditText and share the information publically.

The problem with EditText is it is auto-focused and pulls up a keyboard on a loaded screen.

Android developers almost always uniformly solve the EditText problem by making a parent container focusable, which is non-accessible.

We created a work-around that shoves an empty view, focuses it, then removes it on load. Not ideal. We can and should make a custom view to show developers how to make an EditText accessible and a blog post about how the other solution is a bad no-no shame.