Skip to content

feat: better a11y#509

Merged
zombieJ merged 12 commits intoreact-component:masterfrom
aojunhao123:chore/20251123-type
Nov 28, 2025
Merged

feat: better a11y#509
zombieJ merged 12 commits intoreact-component:masterfrom
aojunhao123:chore/20251123-type

Conversation

@aojunhao123
Copy link
Contributor

@aojunhao123 aojunhao123 commented Nov 24, 2025

Summary by CodeRabbit

  • 新功能

    • 调整 Tooltip 行为与属性:children 类型更明确,aria-describedby 仅在提示存在且可见时生效,渲染行为与打开/关闭更一致。
  • 测试

    • 更新并新增单元测试,覆盖默认可见、受控隐藏、强制渲染及 aria-describedby 行为。
  • Chores

    • 更新依赖并添加测试相关开发依赖及对应 TypeScript 类型支持。
  • 文档

    • README 中包名与示例引用已更新为新的组件包名。

✏️ Tip: You can customize this high-level summary in your review settings.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tooltip component accessibility is lacking

2 participants