Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Radio] 键盘交互与原生radio元素存在差异 #2318

Open
syxysszyw opened this issue Jun 25, 2023 · 2 comments
Open

[Radio] 键盘交互与原生radio元素存在差异 #2318

syxysszyw opened this issue Jun 25, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@syxysszyw
Copy link
Contributor

tdesign-react 版本

最新版

重现链接

无,官网示例可直接体验

重现步骤

从更新日志上看,Radio组件支持键盘操作(tab 键切换选项,enter 键选中)
image

原生radio的键盘交互与 https://www.w3.org/WAI/ARIA/apg/patterns/radio/#keyboardinteraction 的建议一致,可点击链接体验相应的 Examples
image

想了解下有无计划将现有的键盘交互调整为与原生radio元素键盘交互一致呀?

期望结果

与原生radio键盘交互一致的效果

实际结果

radio选项通过Tab获取焦点,需要再点击一次Enter键才能选中选项

框架版本

最新版

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

👋 @syxysszyw,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@github-actions
Copy link
Contributor

♥️ 有劳 @jas0ncn @psaren @carolin913 @samhou1988 @honkinglin 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @syxysszyw

@HaixingOoO HaixingOoO added the enhancement New feature or request label Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants