Skip to content

Bump capybara_accessible_selectors from v0.14.0 to v0.15.0#20961

Merged
dombesz merged 5 commits into
devfrom
dependabot/bundler/dev/capybara_accessible_selectors-v0.15.0
Nov 17, 2025
Merged

Bump capybara_accessible_selectors from v0.14.0 to v0.15.0#20961
dombesz merged 5 commits into
devfrom
dependabot/bundler/dev/capybara_accessible_selectors-v0.15.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Nov 7, 2025

Bumps capybara_accessible_selectors from v0.14.0 to v0.15.0.

Release notes

Sourced from capybara_accessible_selectors's releases.

v0.15.0

  • Add :role selector to find elements by their implicit or explicit aria role
  • Add :test_id selector
  • Added an accessible_description Node method and a selector filter
  • The accessible description calculation now supports aria-description and will more correctly handle hidden text
  • Deprecated the described_by filter in favour of accessible_name. This is now a synonym of accessible_description and will create warning.
  • The rack_test driver now fully supports the accessible name calculations
  • The rack_test driver now fully supports resolving accessible roles
  • The aria filter will now filter for not having the attribute if the hash value is nil
Changelog

Sourced from capybara_accessible_selectors's changelog.

v0.15.0

  • Add :role selector to find elements by their implicit or explicit aria role
  • Add :test_id selector
  • Added an accessible_description Node method and a selector filter
  • The accessible description calculation now supports aria-description and will more correctly handle hidden text
  • Deprecated the described_by filter in favour of accessible_name. This is now a synonym of accessible_description and will create warning.
  • The rack_test driver now fully supports the accessible name calculations
  • The rack_test driver now fully supports resolving accessible roles
  • The aria filter will now filter for not having the attribute if the hash value is nil
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

See upstream issue: citizensadvice/capybara_accessible_selectors#156
See upstream PR: citizensadvice/capybara_accessible_selectors#157

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Nov 7, 2025
@myabc
Copy link
Copy Markdown
Contributor

myabc commented Nov 7, 2025

Don't merge yet: It looks like spec/features/a11y/external_links_spec.rb (and possibly spec/support/capybara/additional_accessible_selectors.rb need to be updated.

@myabc myabc force-pushed the dependabot/bundler/dev/capybara_accessible_selectors-v0.15.0 branch from cc970b4 to b21f103 Compare November 12, 2025 17:12
dependabot Bot and others added 5 commits November 12, 2025 22:04
Bumps [capybara_accessible_selectors](https://github.com/citizensadvice/capybara_accessible_selectors) from v0.14.0 to v0.15.0.
- [Release notes](https://github.com/citizensadvice/capybara_accessible_selectors/releases)
- [Changelog](https://github.com/citizensadvice/capybara_accessible_selectors/blob/main/CHANGELOG.md)
- [Commits](citizensadvice/capybara_accessible_selectors@4adc180...5b9ce78)

---
updated-dependencies:
- dependency-name: capybara_accessible_selectors
  dependency-version: 5b9ce7840d04270e99f4f0cb03989e05437326a6
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Provide a simple implementation of the following Capybara Accessible
Selectors methods via CDP's `getPartialAXTree`:

- (computed) `role`
- `accessible_name`
- `accessible_description` (introduced in CAS 0.15.0)

See https://chromedevtools.github.io/devtools-protocol/tot/Accessibility/#method-getPartialAXTree
Per Capybara Accessible Selectors CHANGELOG

> Deprecated the `described_by` filter in favour of `accessible_name`.
> This is now a synonym of `accessible_description` and will create
> warning.

See https://github.com/citizensadvice/capybara_accessible_selectors/blob/main/CHANGELOG.md#v0150
Switches features that were previously had to resort to Selenium to make
use of `accessible_name` to Cuprite.
Simplifies implementation. `driver.send_keys` should automatically send_keys
keystrokes to active element.
@myabc myabc force-pushed the dependabot/bundler/dev/capybara_accessible_selectors-v0.15.0 branch from b21f103 to 9c34e64 Compare November 12, 2025 22:14
it "shows help text link next to status button", :selenium do
within_section "Project status" do
button = find_button("Edit project status")
expect(page).to have_link accessible_name: "Show help text", right_of: button
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

positional filters (e.g. right_of) are not supported by Cuprite.

Copy link
Copy Markdown
Contributor

@dombesz dombesz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm 👍

@dombesz dombesz merged commit 7928953 into dev Nov 17, 2025
20 of 21 checks passed
@dombesz dombesz deleted the dependabot/bundler/dev/capybara_accessible_selectors-v0.15.0 branch November 17, 2025 21:40
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file needs review ruby Pull requests that update Ruby code

Development

Successfully merging this pull request may close these issues.

2 participants