@uuv/a11y 1.0.0-beta.25 → 1.0.0-beta.26
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.
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# [1.0.0-beta.25](https://github.com/Orange-OpenSource/uuv/compare/a11y-v1.0.0-beta.24...a11y-v1.0.0-beta.25) (2024-05-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **runner-playwright:** update dependency axe-core to v4.9.1 ([770cd9f](https://github.com/Orange-OpenSource/uuv/commit/770cd9f8e4d87d64c2875dd9e629b3e6c6ad1931))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **runner-cypress:** update dependency junit-report-merger to v7 ([7a9e310](https://github.com/Orange-OpenSource/uuv/commit/7a9e310dc192081c5feec543f2dca94468b34230))
|
|
12
|
+
|
|
1
13
|
# [1.0.0-beta.24](https://github.com/Orange-OpenSource/uuv/compare/a11y-v1.0.0-beta.23...a11y-v1.0.0-beta.24) (2024-05-02)
|
|
2
14
|
|
|
3
15
|
|
|
@@ -25,7 +25,7 @@ exports.NotEmptyAttributeSpecification = NotEmptyAttributeSpecification;
|
|
|
25
25
|
class EmptyElementWithIdSpecification {
|
|
26
26
|
isSatisfiedBy(element, attributeName) {
|
|
27
27
|
const attributeValue = element.getAttribute(attributeName);
|
|
28
|
-
if (
|
|
28
|
+
if (attributeValue === null || lodash_1.default.isEmpty(attributeValue)) {
|
|
29
29
|
return true;
|
|
30
30
|
}
|
|
31
31
|
const bindingNodeId = $(`#${attributeValue.replaceAll(".", "\\.")}`).text();
|
|
@@ -49,7 +49,7 @@ class NotEqualsAttributeSpecification {
|
|
|
49
49
|
}
|
|
50
50
|
isSatisfiedBy(element, attributeName) {
|
|
51
51
|
const attributeValue = element.getAttribute(attributeName);
|
|
52
|
-
if (
|
|
52
|
+
if (attributeValue === null) {
|
|
53
53
|
return true;
|
|
54
54
|
}
|
|
55
55
|
return !this.expectedValueList.includes(attributeValue);
|
|
@@ -63,7 +63,7 @@ class EqualsAttributeSpecification {
|
|
|
63
63
|
}
|
|
64
64
|
isSatisfiedBy(element, attributeName) {
|
|
65
65
|
const attributeValue = element.getAttribute(attributeName);
|
|
66
|
-
if (
|
|
66
|
+
if (attributeValue === null) {
|
|
67
67
|
return false;
|
|
68
68
|
}
|
|
69
69
|
return this.expectedValueList.includes(attributeValue);
|
|
@@ -73,7 +73,7 @@ exports.EqualsAttributeSpecification = EqualsAttributeSpecification;
|
|
|
73
73
|
class AccessibleNameNotContainsVisibleTextSpecification {
|
|
74
74
|
isSatisfiedBy(element, attributeName) {
|
|
75
75
|
const visibleText = element.textContent;
|
|
76
|
-
if (
|
|
76
|
+
if (visibleText === null || lodash_1.default.isEmpty(visibleText)) {
|
|
77
77
|
return false;
|
|
78
78
|
}
|
|
79
79
|
const accessibleName = (0, dom_accessibility_api_1.computeAccessibleName)(element);
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uuv/a11y",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.25",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"author": "Louis Fredice NJAKO MOLOM (https://github.com/luifr10) & Stanley SERVICAL (https://github.com/stanlee974)",
|
|
6
6
|
"description": "A javascript lib for running a11y validation based on multiple reference(RGAA, etc)",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uuv/a11y",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.26",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"author": "Louis Fredice NJAKO MOLOM (https://github.com/luifr10) & Stanley SERVICAL (https://github.com/stanlee974)",
|
|
6
6
|
"description": "A javascript lib for running a11y validation based on multiple reference(RGAA, etc)",
|