dom-accessibility-api
Advanced tools
Comparing version 0.5.0 to 0.5.1
# dom-accessibility-api changelog | ||
## 0.5.1 | ||
### Patch Changes | ||
- [`fcc66ae`](https://github.com/eps1lon/dom-accessibility-api/commit/fcc66aef833b8c7546921800e09cbb2096ef9601) [#394](https://github.com/eps1lon/dom-accessibility-api/pull/394) Thanks [@marcosvega91](https://github.com/marcosvega91)! - Ignore `title` attribute if it is empty. | ||
Previously `<button title="">Hello, Dave!</button>` would wrongly compute an empty name. | ||
## 0.5.0 | ||
@@ -4,0 +12,0 @@ |
@@ -300,3 +300,3 @@ "use strict"; | ||
if (titleAttribute !== null && !consultedNodes.has(titleAttribute)) { | ||
if (titleAttribute !== null && titleAttribute.value.trim() !== "" && !consultedNodes.has(titleAttribute)) { | ||
consultedNodes.add(titleAttribute); | ||
@@ -303,0 +303,0 @@ return titleAttribute.value; |
{ | ||
"name": "dom-accessibility-api", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"main": "dist/index.js", | ||
@@ -48,7 +48,7 @@ "module": "dist/index.mjs", | ||
"@babel/preset-typescript": "^7.10.4", | ||
"@changesets/changelog-github": "^0.2.6", | ||
"@changesets/cli": "^2.10.0", | ||
"@testing-library/dom": "^7.22.0", | ||
"@types/jest": "^26.0.9", | ||
"@typescript-eslint/eslint-plugin": "^3.8.0", | ||
"@changesets/changelog-github": "^0.2.7", | ||
"@changesets/cli": "^2.10.1", | ||
"@testing-library/dom": "^7.22.2", | ||
"@types/jest": "^26.0.10", | ||
"@typescript-eslint/eslint-plugin": "^3.9.0", | ||
"@typescript-eslint/parser": "^3.8.1", | ||
@@ -58,7 +58,7 @@ "concurrently": "^5.3.0", | ||
"cypress": "^4.12.1", | ||
"eslint": "^7.6.0", | ||
"eslint": "^7.7.0", | ||
"eslint-plugin-jest": "^23.20.0", | ||
"jest": "^26.2.2", | ||
"jest-diff": "^26.1.0", | ||
"jest-environment-jsdom": "^26.2.0", | ||
"jest": "^26.4.0", | ||
"jest-diff": "^26.4.0", | ||
"jest-environment-jsdom": "^26.3.0", | ||
"jest-junit": "^11.1.0", | ||
@@ -65,0 +65,0 @@ "js-yaml": "^3.14.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
226269
57