Open frosso opened 4 months ago
This pull request includes a
Adding support for the required attribute, so that it can be read by Screen Readers. Porting of the changes from https://github.com/woocommerce/woocommerce/pull/48371
required
I added examples in the docs/accessibility-testing/ directory for how to instantiate a "required" select.
docs/accessibility-testing/
The following changes were made
aria-required
combobox
textbox
select
I noticed that the assets are committed compiled in the repo - so I built them as well.
This pull request includes a
Adding support for the
required
attribute, so that it can be read by Screen Readers. Porting of the changes from https://github.com/woocommerce/woocommerce/pull/48371I added examples in the
docs/accessibility-testing/
directory for how to instantiate a "required" select.The following changes were made
aria-required
to thecombobox
andtextbox
elements, for better support w/ Firefox, Chrome, etc.required
attribute can be set via option on instantiation, or viarequired
attribute on the originalselect
elementI noticed that the assets are committed compiled in the repo - so I built them as well.