Socket
Socket
Sign inDemoInstall

@vaadin/a11y-base

Package Overview
Dependencies
Maintainers
12
Versions
160
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/a11y-base - npm Package Compare versions

Comparing version 24.1.0-alpha9 to 24.1.0-beta1

6

package.json
{
"name": "@vaadin/a11y-base",
"version": "24.1.0-alpha9",
"version": "24.1.0-beta1",
"publishConfig": {

@@ -35,3 +35,3 @@ "access": "public"

"@polymer/polymer": "^3.0.0",
"@vaadin/component-base": "24.1.0-alpha9",
"@vaadin/component-base": "24.1.0-beta1",
"lit": "^2.0.0"

@@ -44,3 +44,3 @@ },

},
"gitHead": "db4fe44603a6702b85b0da2a6d033ddf8ffea5c4"
"gitHead": "f0ddb6576073a6af05ab29867bc5ec82e334f9d7"
}

@@ -23,12 +23,2 @@ /**

/**
* `true` if the target element is the host component itself, `false` otherwise.
*
* @return {boolean}
* @private
*/
get __isGroupField() {
return this.__target === this.host;
}
/**
* Sets a target element to which ARIA attributes are added.

@@ -154,6 +144,3 @@ *

__setErrorIdToAriaAttribute(errorId, oldErrorId) {
// For groups, add all IDs to aria-labelledby rather than aria-describedby -
// that should guarantee that it's announced when the group is entered.
const ariaAttribute = this.__isGroupField ? 'aria-labelledby' : 'aria-describedby';
setAriaIDReference(this.__target, ariaAttribute, { newId: errorId, oldId: oldErrorId, fromUser: false });
setAriaIDReference(this.__target, 'aria-describedby', { newId: errorId, oldId: oldErrorId, fromUser: false });
}

@@ -167,6 +154,3 @@

__setHelperIdToAriaAttribute(helperId, oldHelperId) {
// For groups, add all IDs to aria-labelledby rather than aria-describedby -
// that should guarantee that it's announced when the group is entered.
const ariaAttribute = this.__isGroupField ? 'aria-labelledby' : 'aria-describedby';
setAriaIDReference(this.__target, ariaAttribute, { newId: helperId, oldId: oldHelperId, fromUser: false });
setAriaIDReference(this.__target, 'aria-describedby', { newId: helperId, oldId: oldHelperId, fromUser: false });
}

@@ -173,0 +157,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc