iter(g349): listbox 与 radiogroup 容器补可访问名
This commit is contained in:
@@ -33,7 +33,7 @@ export function mentions(props: MentionsProps): HTMLElement {
|
||||
'aria-expanded': 'false',
|
||||
}) as HTMLTextAreaElement;
|
||||
input.value = value();
|
||||
const list = h('div', { class: 'ua-mentions-pop', role: 'listbox', id: uid });
|
||||
const list = h('div', { class: 'ua-mentions-pop', role: 'listbox', 'aria-label': '提及建议', id: uid });
|
||||
const wrap = h('div', { class: 'ua-mentions' }, input, list);
|
||||
|
||||
// 候选:空过滤词给全量,否则按名字 / 关键词做包含匹配
|
||||
|
||||
Reference in New Issue
Block a user