WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Hint for buttons on android

for

From: Mallory
Date: Apr 13, 2020 7:37AM


My colleagues tell me there's no Android way of adding accessible descriptions to things like there is on iOS or the web. I'm assuming by "hint" you're not talking about the button names.
At my work we were discussing things like error messages which normally we'd associate with the inputs as an accessible description. For Android it seems we're relying on proximity for errors (the errors are either immediately before or immediately after the input), and for "help text" possibly stuffing that into the label (depending on how long it is. Too long and we don't). For buttons, I'd be interested if anyone on the list has a good technique!

cheers,
Mallory

On Fri, Apr 10, 2020, at 11:46 PM, Ajay Sharma wrote:
> Hello there,
>
> I am seeking advice on adding hint text for buttons on android, I was
> exploring android:hint but turns out Talkback won't read it for
> buttons, though it reads hint text for edit fields.
>
> So, is there any standard practice to achieve this?
>
> Thanks!
> Ajay
> > > > >