更新搜索框翻译,添加 ARIA 标签 (#406)

pull/407/head
Lee 2024-09-08 19:18:37 +08:00 committed by GitHub
parent d567ce7a4a
commit 00160a3fd7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

View File

@ -102,9 +102,16 @@ function genConfig() {
modal: {
noResultsText: '无法找到相关结果',
resetButtonTitle: '清除查询条件',
displayDetails: '显示详细列表',
footer: {
selectText: '选择',
navigateText: '切换',
closeText: '关闭',
// 无障碍ARIA标签用于描述键盘导航操作
navigateUpKeyAriaLabel: '上箭头',
navigateDownKeyAriaLabel: '下箭头',
selectKeyAriaLabel: '回车',
closeKeyAriaLabel: '退出'
},
},
},