rails_accessibility_testing 1.5.4 β 1.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/README.md +1 -1
- data/docs_site/index.md +1 -1
- data/lib/rails_accessibility_testing/version.rb +1 -1
- data/lib/rails_accessibility_testing.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 836e9f69cdf0b1f32abc52ba3c10f447573d5119e7a5fe46ebd40f220d9512d8
|
|
4
|
+
data.tar.gz: 77f443a9489889342ceefb083f6ac17180f2e5c371e97c70d713872e36e25f7e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 841164904b6374442f3718540dcb9a3d3458b1daa3135cbb3a00cea29874d8b83600b53d92fb78b96587836594d54cc4787b4711fb5ef09db0d1f91246ca3954
|
|
7
|
+
data.tar.gz: 63b1dce42b97fe91cf16c1284d0ab8893a08aa8dd8171eb655ddb52b30db499b37d08be95c1b9d38e2f10e2fe1f63ee22807649be6530a31f612f812d7958a16
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.5.5] - 2024-11-20
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **Rails helper compatibility**: Fixed `blank?` and `present?` calls in checks to work without Rails (pure Ruby compatibility)
|
|
12
|
+
- **Check compatibility with static scanning**: Fixed `FormLabelsCheck`, `InteractiveElementsCheck`, `HeadingCheck`, `ImageAltTextCheck`, and `FormErrorsCheck` to handle `nil` values correctly
|
|
13
|
+
- **StaticElementAdapter**: Added `all` method to support nested element queries required by checks
|
|
14
|
+
- **HeadingCheck**: Fixed image detection within headings for static scanning compatibility
|
|
15
|
+
|
|
16
|
+
### Improved
|
|
17
|
+
- **Error handling**: Better handling of `nil` values in all checks for static scanning
|
|
18
|
+
- **Code robustness**: All checks now work seamlessly with both Capybara (dynamic) and Nokogiri (static) scanning
|
|
19
|
+
|
|
8
20
|
## [1.5.4] - 2024-11-20
|
|
9
21
|
|
|
10
22
|
### Changed
|
|
@@ -374,6 +386,7 @@ This release introduces significant improvements to view file detection, partial
|
|
|
374
386
|
- Compatible with RSpec Rails 6.0+
|
|
375
387
|
- Modular architecture with rule engine and check definitions
|
|
376
388
|
|
|
389
|
+
[1.5.5]: https://github.com/rayraycodes/rails-accessibility-testing/releases/tag/v1.5.5
|
|
377
390
|
[1.5.4]: https://github.com/rayraycodes/rails-accessibility-testing/releases/tag/v1.5.4
|
|
378
391
|
[1.5.3]: https://github.com/rayraycodes/rails-accessibility-testing/releases/tag/v1.5.3
|
|
379
392
|
[1.5.2]: https://github.com/rayraycodes/rails-accessibility-testing/releases/tag/v1.5.2
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
**The RSpec + RuboCop of accessibility for Rails. Catch WCAG violations before they reach production.**
|
|
9
9
|
|
|
10
|
-
**Current Version:** 1.5.
|
|
10
|
+
**Current Version:** 1.5.5
|
|
11
11
|
|
|
12
12
|
π **[π Full Documentation](https://rayraycodes.github.io/rails-accessibility-testing/)** | [π» GitHub](https://github.com/rayraycodes/rails-accessibility-testing) | [π RubyGems](https://rubygems.org/gems/rails_accessibility_testing)
|
|
13
13
|
|
data/docs_site/index.md
CHANGED
|
@@ -7,7 +7,7 @@ title: Home
|
|
|
7
7
|
|
|
8
8
|
**The RSpec + RuboCop of accessibility for Rails. Catch WCAG violations before they reach production.**
|
|
9
9
|
|
|
10
|
-
**Version:** 1.5.
|
|
10
|
+
**Version:** 1.5.5
|
|
11
11
|
|
|
12
12
|
Rails Accessibility Testing is a comprehensive accessibility testing gem that makes accessibility testing as natural as unit testing. It integrates seamlessly into your Rails workflow, catching WCAG 2.1 AA violations as you codeβnot after deployment.
|
|
13
13
|
|