protected void renderAccessibilityAttributes(FacesContext context, UIInput component) throws IOException {
        renderAccessibilityAttributes(context, component, isDisabled(component), isReadOnly(component));
    }
Adds the following accessibility attributes to an HTML DOM element.
<pre>
"aria-required" if the component is required
"aria-invalid" if the component is invalid
"aria-labelledby" if the component has a labelledby attribute
"disabled" and "aria-disabled" if the component is disabled
"readonly" and "aria-readonly" if the component is readonly
</pre>
@param context the {@link FacesContext}
@param component the {@link UIInput} component to add attributes for
@throws IOException if any error occurs writing the response
primefaces/src/main/java/org/primefaces/renderkit/InputRenderer.java