protected void renderARIARequired ( FacesContext context , UIInput component ) throws IOException { if ( component . isRequired ( ) ) { ResponseWriter writer = context . getResponseWriter ( ) ; writer . writeAttribute ( HTML . ARIA_REQUIRED , "true" , null ) ; } }
Adds aria - required if the component is required .