Releases
v0.11.0
Compare
Sorry, something went wrong.
No results found
Added
:img selector and matcher [Phillip Kessels]
:dialog selector and matcher
:heading selector and matcher
aria filter to :combo_box, :disclosure, and :disclosure_button [Sean Doyle]
Fixed
:region selector was finding <section> elements without an accessible name
:section selector was matching sections with no headings resulting in ambiguous matcher errors
Changed
All filters will now validate their inputs more strictly
described_by and validation_error filters will also accept a regular expression
The :modal selector will now check a native modal is displaying as a modal
:section selector will also match aria headings
validation_error filter
now checks for validity.valid or the aria-invalid=true attribute
Previously it required aria-invalid=true attribute
now allows the error message to be in the aria-labelledby name
now also takes a boolean allowing you to check if a field is or isn't invalid
have_validation_errors:
allows use of within and within_fieldset within the block
allows you to use radio_group to match multiple radios by a fieldset legend
added some missing selectors
corrected logic for finding invalid fields
The current filter will now accept nil to match having no aria-current [Sean Doyle]
Change :rich_text to support both [contenteditable="true"] and [contenteditable=""] [Sean Doyle]
Removed
Removed support for Ruby 2.7. Minimum supported Ruby version is now 3.0
You can’t perform that action at this time.