Accessible versions of ComboBox and MultiSelectComboBox for Vaadin 14 based web components of Vaadin 23, which has been rewritten for better accessibility. The Java API us the same as regular Vaadin 14 ComboBox. The web component name has been renamed to vcf-combo-box and vcf-multi-select-combo-box (and child elements respectively with same convention) to avoid duplicate component registration.
- ComboBox.java: this is the addon-on component class.
- MultiSelectComboBox.java: this the multiselect version
- View.java: A View class that let's you test the component you are building.
- src/main/resources/META-INF/resources/frontend/src contains actual web component, mostly copied from Vaadin 23.
Starting the test/demo server:
mvn jetty:run
This deploys demo at http://localhost:8080
To run Integration Tests, execute mvn verify -Pit,production
.
You should change the organisation.name
property in pom.xml
to your own name/organization.
<organization>
<name>###author###</name>
</organization>
You can create the zip package needed for Vaadin Directory using
mvn versions:set -DnewVersion=1.0.0 # You cannot publish snapshot versions
mvn install -Pdirectory
The package is created as target/accessible-combo-box-1.0.0.zip
For more information or to upload the package, visit https://vaadin.com/directory/my-components?uploadNewComponent