Skip to content

Conversation

@sabrina-bongiovanni
Copy link
Collaborator

To be merged after collective/volto-form-block#118 is merged and released on io-Comune.

Porting of changes to use autocomplete field on form fields.

Accessibility tools point out as errors the fact that form fields do not have an autocomplete attribute.
This PR aims to allow editors to set autocomplete values according to the form field role.

Since semantic-ui does not support autocomplete as a prop, I added the react-aria-components library as a dependency from this addon. However, since this library is going to be applied to volto as a whole, someday probably it won't be necessary to have it installed in this addon.
I used this library as it is the one that will be implemented, but of course I'm open to discuss and making changes in case it is not the best option.

@sabrina-bongiovanni sabrina-bongiovanni self-assigned this Sep 30, 2024
@sabrina-bongiovanni sabrina-bongiovanni added the a11y-accessibility Fixes accessibility issues or adds accessibility features label Sep 30, 2024
@pnicolli pnicolli force-pushed the a11y_porting_volto_form_block_autocomplete_changes branch from 7d49360 to d40050d Compare February 26, 2025 09:26
@pnicolli pnicolli marked this pull request as ready for review February 26, 2025 09:27
@pnicolli pnicolli merged commit 2cd9edb into main Feb 26, 2025
5 checks passed
@pnicolli pnicolli deleted the a11y_porting_volto_form_block_autocomplete_changes branch February 26, 2025 09:46
pnicolli pushed a commit that referenced this pull request Feb 26, 2025
* feat: porting of volto-form-block autocomplete changes

* fix: minor fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a11y-accessibility Fixes accessibility issues or adds accessibility features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants