SC 4.1.2 Name, Role, Value
That's important.
And then we have name role value, which is basically like the catch all for like elements need to be properly used.
So we have seen the input fields with the label and descriptions, for example.
And I always said like, oh, it would be announced as label and then text input and then the description for that.
And this is exactly what name role value looks at.
So we're looking at the input field.
It has a label.
That label is then the accessible name.
So that's the name part of this success criterion.
If you have used proper HTML, like an input field with the type text, then it will say, oh, yeah, sure, this is a text input field.
So the role is text input and the value is whatever is inside of the field.
But it's also things like required.
It's also things like the length that is required.
So all these properties and states need to be also conveyed in a programmatic way.
That's basically what this is asking for.
So this is asking for the correct HTML, making sure that everything is glued together properly.