Socket
Socket
Sign inDemoInstall

dom-accessibility-api

Package Overview
Dependencies
0
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.8 to 0.5.9

9

CHANGELOG.md
# dom-accessibility-api changelog
## 0.5.9
### Patch Changes
- [#762](https://github.com/eps1lon/dom-accessibility-api/pull/762) [`b3e4a17`](https://github.com/eps1lon/dom-accessibility-api/commit/b3e4a1711cd0d8dbc83bd6c656698cc2b2cc3b6a) Thanks [@eps1lon](https://github.com/eps1lon)! - Compute name from author for `menu` role.
Previously we wouldn't compute any name for `menu` to pass some web-platform-tests that covered an exotic use case.
Now we correctly respect name from author (e.g. `aria-label` or `aria-labelledby`).
## 0.5.8

@@ -4,0 +13,0 @@

14

dist/accessible-name-and-description.js

@@ -460,9 +460,2 @@ "use strict";

return "";
} // special casing, cheating to make tests pass
// https://github.com/w3c/accname/issues/67
if ((0, _util.hasAnyConcreteRoles)(current, ["menu"])) {
consultedNodes.add(current);
return "";
} // 2A

@@ -514,2 +507,9 @@

}
} // special casing, cheating to make tests pass
// https://github.com/w3c/accname/issues/67
if ((0, _util.hasAnyConcreteRoles)(current, ["menu"])) {
consultedNodes.add(current);
return "";
} // 2E

@@ -516,0 +516,0 @@

{
"name": "dom-accessibility-api",
"description": "Implements https://w3c.github.io/accname/",
"version": "0.5.8",
"version": "0.5.9",
"main": "dist/index.js",

@@ -59,3 +59,3 @@ "module": "dist/index.mjs",

"eslint": "^7.27.0",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-jest": "^25.0.0",
"jest": "^27.0.3",

@@ -66,3 +66,3 @@ "jest-diff": "^27.0.2",

"js-yaml": "^4.1.0",
"jsdom": "^17.0.0",
"jsdom": "^18.0.0",
"minimatch": "^3.0.4",

@@ -69,0 +69,0 @@ "mocha": "^9.0.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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc