Commit 788262d
committed
feat: add tab focus support for CheckBox and RadioButton
1. Added focusPolicy: Qt.TabFocus to both CheckBox.qml and
RadioButton.qml components
2. This change enables keyboard navigation via tab key for better
accessibility
3. Previously these components couldn't receive focus through tab
navigation
4. Improves user experience for keyboard-only users and accessibility
compliance
feat: 为复选框和单选按钮添加标签页焦点支持
1. 在 CheckBox.qml 和 RadioButton.qml 组件中添加了 focusPolicy:
Qt.TabFocus
2. 此更改使得可以通过Tab键进行键盘导航,提高可访问性
3. 之前这些组件无法通过Tab导航获取焦点
4. 改善了仅使用键盘用户的体验并提高可访问性合规性
pms: BUG-3175051 parent e9e6d71 commit 788262d
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
0 commit comments