百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

axe-mode

> 测试质量
开源

可访问性测试可视化

198 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

可访问性测试可视化

axe-mode

WIP

This project is an attempt to leverage axe-core in a component to find accessibility violations and provide information on how to resolve them.

Currently, this only works for React.

See it in action on CodeSandbox.

Usage

Install the library:

bash
yarn add axe-mode -D

or

bash
npm install axe-mode --save-dev

Import the component and wrap it around your application or any other component tree you would like to validate:

typescript
import AxeMode from 'axe-mode';

function App() {
  return (
    
      
Hello world!

    
  );
}

Launch your application as usual. Any violations of accessibility will show up as an overlay. If you wish to interact with your application, overlays can be toggled on/off with Ctrl + I.

You can safely leave the component around your application since this whole library and its dependencies will be dropped in production.

Note: Make sure to only run in production by using the disabled prop with your environment variable.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScripta11yaccessibilityaxetesting

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类测试质量
定价开源

> 相关工具

J
Jest
JavaScript 测试框架
P
Playwright
现代端到端测试框架
E
eslint-plugin-test-selectors
Enforces that data-test-id attributes are added to interactive DOM elements (JSX) to help with UI testing. JSX only.