- Getting Started
- Rules categories
- AMP HTML Validator
- Accessibility assessment with aXe
- Avoid HTTP redirects in requests
- Disallow certain HTTP headers
- Disallow non-standard file extension for the web app manifest file
- Disallow protocol-relative URLs
- Disallow small error pages
- Disallow unneeded HTTP headers for non-HTML resources
- HTTP Cache
- Image optimization with Cloudinary
- No vulnerable libraries
- Nu HTML Test
- Performance budget
- Require `Content-Type` HTTP response header with appropriate value
- Require `Strict-Transport-Security` response header
- Require `X-Content-Type-Options` HTTP response header
- Require a web app manifest file
- Require an apple touch icon
- Require charset meta tag with the value of `utf-8`
- Require external links to disown opener
- Require highest available document mode
- Require manifest to specify the web site/app name
- Require resources to be served compressed
- Require scripts and styles to use subresource integrity
- Require viewport meta tag with proper value
- SSL Server Test
- Validate `Set-Cookie` Header
- further configuration
aXe is the accessibility engine for automated testing of HTML-based
user interfaces. This rules performs the default accessibility tests
(WCAG 2.0 Level A and Level AA rules) and alerts if something fails.
The Web is an increasingly important resource in many aspects of life: education, employment, government, commerce, health care, recreation, and more. It is essential that the Web be accessible in order to provide equal access and equal opportunity to people with disabilities. An accessible Web can also help people with disabilities more actively participate in society.
The Web offers the possibility of unprecedented access to information and interaction for many people with disabilities. That is, the accessibility barriers to print, audio, and visual media can be much more easily overcome through Web technologies.
The document “Social Factors in Developing a Web Accessibility Business Case for Your Organization” discusses how the Web impacts the lives of people with disabilities, the overlap with digital divide issues, and Web accessibility as an aspect of corporate social responsibility.
Another important consideration for organizations is that web i accessibility is required by laws and policies in some cases.
By default this rule runs all the WCAG 2.0 Level A and
Level AA rules included in axe-core with
the target. Visit the full list of default enabled rules
for more information of what they do.
This rule uses
axe.run and the default values (WCAG
2.0 Level A and Level AA rules) over the
You can modify what rules or categories are executed via an
object that follows aXe’s documentation.
Some examples of rule configurations that you can have in the
Run only WCAG 2.0 Level A rules:
Run only a specified set of rules:
Run all enabled rules except for a list of rules: