protected void renderARIACombobox ( FacesContext context , UIInput component ) throws IOException { ResponseWriter writer = context . getResponseWriter ( ) ; writer . writeAttribute ( "role" , "combobox" , null ) ; writer . writeAttribute ( HTML . ARIA_HASPOPUP , "true" , null ) ; writer . writeAttribute ( HTML . ARIA_EXPANDED , "false" , null ) ; }
Adds ARIA attributes if the component is role = combobox .