feat(a11y): improve core interaction accessibility and add audit guide#20
Conversation
Co-authored-by: 吴杨帆 <leno23@users.noreply.github.com>
Co-authored-by: 吴杨帆 <leno23@users.noreply.github.com>
Co-authored-by: 吴杨帆 <leno23@users.noreply.github.com>
…ace, Divider, SplitPane) Co-authored-by: 吴杨帆 <leno23@users.noreply.github.com>
Add VitePress markdown docs with LivePlayground examples and API tables for: Input, InputNumber, AutoComplete, Select, Checkbox, Radio, Switch, DatePicker, TimePicker, Slider, Rate, Upload, Form, Calendar, Transfer, Cascader, TreeSelect, ColorPicker, Segmented, Mentions Co-authored-by: 吴杨帆 <leno23@users.noreply.github.com>
…avigation) Co-authored-by: 吴杨帆 <leno23@users.noreply.github.com>
…two-level menu New components (matching Ant Design API patterns): - Layout: Flex - Form: AutoComplete, InputNumber, TimePicker - Feedback: Alert, Skeleton, Popconfirm, Spin - Data: List, Carousel, Image - Navigation: FloatButton Sidebar changes: - Restructured from flat category links to two-level collapsible menu - Each component now has its own dedicated page with demo and API docs - Removed old single-page-per-category docs - Updated overview page with complete component listing Co-authored-by: 吴杨帆 <leno23@users.noreply.github.com>
Add AGENTS.md with Cursor Cloud development instructions
…tion-display docs: improve component overview with category cards and styles
…-to-table-component feat(table): add pagination configuration and simple built-in pager
feat(form): support event and value-first onChange values
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: eaa97af5e7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Analysis CompleteGenerated ECC bundle from 20 commits | Confidence: 85% View Pull Request #21Repository Profile
Changed Files (106)
Top hotspots
Top directories
Analysis Depth Readiness (commit-history, 14%)ECC Tools uses this to decide whether recommendations should stay at commit-history/setup guidance or expand into CI, security, harness, reference-set, AI-routing, and team backlog work.
Reference Set Readiness (0/7, 0%)
Likely Future Issues (2)
Suggested Follow-up Work (2)
Copy-ready bodies chore: sync config templates for docs/.vitepress/config.ts ## Summary
- Update the example env files, sample configs, or deployment templates that should mirror the changed runtime configuration surface.
## Why
- Backfill example env files or config templates before a fresh setup drifts from the shipped runtime surface.
## Touched paths
- `docs/.vitepress/config.ts`
## Validation
- Update the repo example env file or config template that should reflect the new runtime settings.
- Run the setup, boot, or deployment validation flow that depends on the changed config surface.test: add browser coverage for docs/.vitepress/theme/custom.css + docs/components/affix.md ## Summary
- Add browser or end-to-end coverage for the recently changed user-facing surface.
## Why
- Backfill browser coverage before another user-facing UI change lands on the touched surface.
## Touched paths
- `docs/.vitepress/theme/custom.css`
- `docs/components/affix.md`
## Validation
- Add or extend browser / e2e coverage for the changed component, page, or flow.
- Exercise the visible user journey that depends on the touched UI surface.Review Activity (1 reviews, 2 inline comments, 0 unresolved threads)
Latest reviewer states
Review Follow-up Signals (2)
Recommended next actions
Detected Workflows (5)
Generated Instincts (25)
After merging, import with: Files
|
Motivation
Description
aria-labelledby将标题与role="dialog"关联。aria-expanded/aria-haspopup/aria-controls,支持Enter/Space/ArrowDown打开、ArrowUp/ArrowDown导航与Escape关闭并回焦,同时添加 click-outside 行为和活动项tabIndex管理。tabIndex(活动项0其余-1)和内部活动 key 状态。label使用htmlFor绑定控件,出错时向控件注入aria-invalid与aria-describedby并为错误文案输出 id。docs/guide/accessibility.md包含 a11y 检查清单、组件级审计结果、每个修复点的“问题-改法-验证方式”,并在侧边栏添加“可访问性”入口。onKeyDown冒泡逻辑或依赖“打开不夺焦”的场景。Testing
npm run typecheck:ui; 在最初修改后出现 TypeScript 类型错误并已修复,最终tsc --noEmit通过。npm run lint:ui(内部会触发 typecheck 步骤)且 ESLint 检查通过。Codex Task