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

@sa11y/preset-rules

Package Overview
Dependencies
Maintainers
0
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sa11y/preset-rules - npm Package Compare versions

Comparing version 6.12.1 to 6.12.3

8

package.json
{
"name": "@sa11y/preset-rules",
"version": "6.12.1",
"version": "6.12.3",
"description": "Accessibility preset rule configs for axe",

@@ -24,7 +24,7 @@ "license": "BSD-3-Clause",

"dependencies": {
"@sa11y/common": "6.12.1"
"@sa11y/common": "6.12.3"
},
"devDependencies": {
"@jest/globals": "28.1.3",
"axe-core": "4.10.0",
"axe-core": "4.10.2",
"markdown-table-ts": "1.0.3"

@@ -38,3 +38,3 @@ },

},
"gitHead": "2da71dd987b8f13e0a07a14c205282c1e978feea"
"gitHead": "292eea6e7218b86e2881195c278cd212bf84290e"
}

@@ -40,3 +40,3 @@ # `@sa11y/preset-rules`

| --------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | ---------- | -------- | --------------- | ------------------- |
| [area-alt](https://dequeuniversity.com/rules/axe/4.10/area-alt) | Ensure <area> elements of image maps have alternate text | 1.1.1 | A | P1 | ✅ | ✅ |
| [area-alt](https://dequeuniversity.com/rules/axe/4.10/area-alt) | Ensure <area> elements of image maps have alternative text | 1.1.1 | A | P1 | ✅ | ✅ |
| [aria-allowed-attr](https://dequeuniversity.com/rules/axe/4.10/aria-allowed-attr) | Ensure an element's role supports its ARIA attributes | 4.1.2 | A | P1 | ✅ | ✅ |

@@ -80,5 +80,5 @@ | [aria-allowed-role](https://dequeuniversity.com/rules/axe/4.10/aria-allowed-role) | Ensure role attribute has an appropriate value for the element | 4.1.2 | A | P1 | ✅ | ✅ |

| [html-xml-lang-mismatch](https://dequeuniversity.com/rules/axe/4.10/html-xml-lang-mismatch) | Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page | 3.1.1 | A | P2 | ✅ | ✅ |
| [image-alt](https://dequeuniversity.com/rules/axe/4.10/image-alt) | Ensure <img> elements have alternate text or a role of none or presentation | 1.1.1 | A | P1 | ✅ | ✅ |
| [image-alt](https://dequeuniversity.com/rules/axe/4.10/image-alt) | Ensure <img> elements have alternative text or a role of none or presentation | 1.1.1 | A | P1 | ✅ | ✅ |
| [input-button-name](https://dequeuniversity.com/rules/axe/4.10/input-button-name) | Ensure input buttons have discernible text | 4.1.2 | A | P1 | ✅ | ✅ |
| [input-image-alt](https://dequeuniversity.com/rules/axe/4.10/input-image-alt) | Ensure <input type="image"> elements have alternate text | 1.1.1 | A | P1 | ✅ | ✅ |
| [input-image-alt](https://dequeuniversity.com/rules/axe/4.10/input-image-alt) | Ensure <input type="image"> elements have alternative text | 1.1.1 | A | P1 | ✅ | ✅ |
| [label](https://dequeuniversity.com/rules/axe/4.10/label) | Ensure every form element has a label | 3.3.2 | A | P1 | ✅ | ✅ |

@@ -93,5 +93,5 @@ | [label-title-only](https://dequeuniversity.com/rules/axe/4.10/label-title-only) | Ensure that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes | 3.3.2 | A | P1 | ✅ | ✅ |

| [nested-interactive](https://dequeuniversity.com/rules/axe/4.10/nested-interactive) | Ensure interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies | 4.1.2 | A | P1 | ✅ | ✅ |
| [object-alt](https://dequeuniversity.com/rules/axe/4.10/object-alt) | Ensure <object> elements have alternate text | 1.1.1 | A | P1 | ✅ | ✅ |
| [object-alt](https://dequeuniversity.com/rules/axe/4.10/object-alt) | Ensure <object> elements have alternative text | 1.1.1 | A | P1 | ✅ | ✅ |
| [presentation-role-conflict](https://dequeuniversity.com/rules/axe/4.10/presentation-role-conflict) | Elements marked as presentational should not have global ARIA or tabindex to ensure all screen readers ignore them | 4.1.1 | A | P3 | ✅ | ✅ |
| [role-img-alt](https://dequeuniversity.com/rules/axe/4.10/role-img-alt) | Ensure [role="img"] elements have alternate text | 1.1.1 | A | P1 | ✅ | ✅ |
| [role-img-alt](https://dequeuniversity.com/rules/axe/4.10/role-img-alt) | Ensure [role="img"] elements have alternative text | 1.1.1 | A | P1 | ✅ | ✅ |
| [scope-attr-valid](https://dequeuniversity.com/rules/axe/4.10/scope-attr-valid) | Ensure the scope attribute is used correctly on tables | 1.3.1 | A | P1 | ✅ | ✅ |

@@ -98,0 +98,0 @@ | [scrollable-region-focusable](https://dequeuniversity.com/rules/axe/4.10/scrollable-region-focusable) | Ensure elements that have scrollable content are accessible by keyboard | 2.1.1 | A | P1 | ✅ | ✅ |

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