Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

axe-core

Package Overview
Dependencies
Maintainers
4
Versions
1374
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axe-core - npm Package Compare versions

Comparing version 4.10.0 to 4.10.1

6

axe.d.ts

@@ -146,6 +146,10 @@ // Type definitions for axe-core

frameWaitTime?: number;
preload?: boolean;
preload?: boolean | PreloadOptions;
performanceTimer?: boolean;
pingWaitTime?: number;
}
interface PreloadOptions {
assets: string[];
timeout?: number;
}
interface AxeResults extends EnvironmentData {

@@ -152,0 +156,0 @@ toolOptions: RunOptions;

28

locales/_template.json

@@ -9,4 +9,4 @@ {

"area-alt": {
"description": "Ensure <area> elements of image maps have alternate text",
"help": "Active <area> elements must have alternate text"
"description": "Ensure <area> elements of image maps have alternative text",
"help": "Active <area> elements must have alternative text"
},

@@ -226,4 +226,4 @@ "aria-allowed-attr": {

"image-alt": {
"description": "Ensure <img> elements have alternate text or a role of none or presentation",
"help": "Images must have alternate text"
"description": "Ensure <img> elements have alternative text or a role of none or presentation",
"help": "Images must have alternative text"
},

@@ -239,4 +239,4 @@ "image-redundant-alt": {

"input-image-alt": {
"description": "Ensure <input type=\"image\"> elements have alternate text",
"help": "Image buttons must have alternate text"
"description": "Ensure <input type=\"image\"> elements have alternative text",
"help": "Image buttons must have alternative text"
},

@@ -336,4 +336,4 @@ "label-content-name-mismatch": {

"object-alt": {
"description": "Ensure <object> elements have alternate text",
"help": "<object> elements must have alternate text"
"description": "Ensure <object> elements have alternative text",
"help": "<object> elements must have alternative text"
},

@@ -357,3 +357,3 @@ "p-as-heading": {

"role-img-alt": {
"description": "Ensure [role=\"img\"] elements have alternate text",
"description": "Ensure [role=\"img\"] elements have alternative text",
"help": "[role=\"img\"] elements must have an alternative text"

@@ -779,4 +779,4 @@ },

"explicit-label": {
"pass": "Form element has an explicit <label>",
"fail": "Form element does not have an explicit <label>",
"pass": "Element has an explicit <label>",
"fail": "Element does not have an explicit <label>",
"incomplete": "Unable to determine if form element has an explicit <label>"

@@ -794,5 +794,5 @@ },

"implicit-label": {
"pass": "Form element has an implicit (wrapped) <label>",
"fail": "Form element does not have an implicit (wrapped) <label>",
"incomplete": "Unable to determine if form element has an implicit (wrapped} <label>"
"pass": "Element has an implicit (wrapped) <label>",
"fail": "Element does not have an implicit (wrapped) <label>",
"incomplete": "Unable to determine if form element has an implicit (wrapped) <label>"
},

@@ -799,0 +799,0 @@ "label-content-name-mismatch": {

@@ -5,6 +5,6 @@ # Localizations

To create a new translation for axe, start by running `grunt translate --lang=<langcode>`. This will create a json file with the default English text in it for you to translate. Alternatively, you could copy `_template.json`.
To create a new translation for axe, start by running `grunt translate --lang=<langcode>`. This will create a JSON file with the default English text in it for you to translate. Alternatively, you could copy `_template.json`.
To update an existing translation file, re-run `grunt translate --lang=<langcode>`. This will add new messages used in English and remove messages which were not used in English.
To update an existing translation file, re-run `grunt translate --lang=<langcode>`. This will add new messages used in English and remove messages that are no longer used in English.
`_template.json` is a generated file which is created every time axe is built. It's compiled using each rules' `description` and `help` properties as well as each checks' `metadata.messages` property. To update the `_template.json` file you'll need to update the corresponding [rule](../lib/rules) or [check](../lib/checks) metadata file and rebuild.
`_template.json` is a generated file which is created every time axe is built. It's compiled using each rule's `description` and `help` properties, as well as each check's `metadata.messages` property. To update the `_template.json` file you'll need to update the corresponding [rule](../lib/rules) or [check](../lib/checks) metadata file and rebuild.
{
"name": "axe-core",
"description": "Accessibility engine for automated Web UI testing",
"version": "4.10.0",
"version": "4.10.1",
"license": "MPL-2.0",

@@ -115,2 +115,3 @@ "engines": {

"fmt": "prettier --write .",
"fmt:check": "prettier --check .",
"prepare": "husky && npm run patch",

@@ -117,0 +118,0 @@ "prebuild": "node ./build/check-node-version.js",

# axe-core
[![License](https://img.shields.io/npm/l/axe-core.svg)](LICENSE)
[![License](https://img.shields.io/npm/l/axe-core.svg?color=c41)](LICENSE)
[![Version](https://img.shields.io/npm/v/axe-core.svg)](https://www.npmjs.com/package/axe-core)
[![Total npm downloads](https://img.shields.io/npm/dt/axe-core.svg)](https://www.npmjs.com/package/axe-core)
[![NPM downloads](https://img.shields.io/npm/dw/axe-core.svg?color=080)![](https://img.shields.io/npm/dy/axe-core.svg?color=080&label=)](https://npm-stat.com/charts.html?package=axe-core&from=2017-01-01)
[![Commits](https://img.shields.io/github/commit-activity/y/dequelabs/axe-core.svg)](https://github.com/dequelabs/axe-core/commits/develop)
[![GitHub contributors](https://img.shields.io/github/contributors/dequelabs/axe-core.svg)](https://github.com/dequelabs/axe-core/graphs/contributors)
[![GitHub contributors](https://img.shields.io/github/contributors/dequelabs/axe-core.svg?color=080)](https://github.com/dequelabs/axe-core/graphs/contributors)
[![Join our Slack chat](https://img.shields.io/badge/slack-chat-purple.svg?logo=slack)](https://accessibility.deque.com/axe-community)

@@ -9,0 +9,0 @@ [![Package Quality](https://npm.packagequality.com/shield/axe-core.svg)](https://packagequality.com/#?package=axe-core)

@@ -385,3 +385,7 @@ {

"axe.min.js": "sha256-SDpP7Usv5Wz9lKWFZQIMhjmD+EFeKCfzSB3ONecO/7U="
},
"4.10.1": {
"axe.js": "sha256-KQDnBck/AyiC+OE3x0AJ/EQYykYTnH+1z7punr4Xc0c=",
"axe.min.js": "sha256-OBXf33U9n+qCj0mI9MLkiVyC1nCzabDnmopjyuv1gZ4="
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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