WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Screen reader instructions specefic to forms mode

for

From: Sean Murphy
Date: Jan 3, 2019 4:13AM


Suggestions:

Aria-describeby is a better attribute to use for ARIa if you need to give instructions on a form element. The aria-describeby should only trigger when focus is placed on the forms mode. Thus might not interfer with the VPc. You must also test on the Mac and mobile platforms to verify if they work or not.

What type of widget are you designing here? The ARIa 1.0, 1.1 and 1.2 have good design patterns you could look at.

ARIa should be the last resort by the way as most times it causes more issues than not if incorrectly used.


Native HtML is always reocmmended. If you have example code, this would help to give suggestions.

Sean




My experience is the part

> On 3 Jan 2019, at 9:32 pm, Ajay Sharma < <EMAIL REMOVED> > wrote:
>
> Hey All,
>
> We have a custom widget that we want to make compatible in both VPC
> and forms mode.
>
> Currently it is easily accessible in VPC but for forms mode
> compatibility there is slightly different keyboard operation.
>
> So the requirement is to provide this instruction to screen reader
> users, only when they are navigating in forms mode.
>
> An alternative is to provide this instruction by marking the widget
> container as region and providing instruction inside aria-label, but
> in this way SR read it in VPC as well which is not required.
> Please share your thoughts on it.
>
> Happy New Year!
> Ajay
> > > >