alphagov / govuk-country-and-territory-autocomplete

An autocomplete widget that uses data from Country and Territory Register.
https://alphagov.github.io/govuk-country-and-territory-autocomplete/examples/
MIT License
36 stars 18 forks source link

Use latest version of accessibile-autocomplete to fix invalid use of SPAN wrapper #69

Closed nubz closed 2 years ago

nubz commented 4 years ago

https://github.com/alphagov/accessible-autocomplete/pull/407 fixes the use of a SPAN element by accessible-autocomplete to wrap the enhanced element - using a span to wrap a div is being flagged as invalid HTML by our automated accessibility checks. SPAN's can only contain flow content or phrasing content.

Updating the version of accessible-autocomplete to v2.0.2 will fix this.

36degrees commented 2 years ago

I believe this was resolved by #108