For screen readers required

At form need like
<input required="" and also aria-required="true">

So both?

Thanks!

Hi,

What do you mean? Could you describe the issue in more details? Expected result, your code, actual result etc.

I have a form input with required="" but for be good on screen readers i need to add aria-required=“true” also? So both?

Thanks!

In HTML5 it is enough to have only required.

You have to use the aria-required="true" for user agents that do not yet support HTML5.

1 Like