Tencent / Tencent/tdesign-miniprogram

[cascader] 无障碍支持遗留问题

Open
#2,042 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vue
Stars
1.8k
Forks
337
Avg merge
1d 21h
Merged PRs (30d)
19

Description

说明

cascader 组件无障碍支持还遗留的问题如下:

  1. 上一层【被选中的】选项能获取焦点(点击后切换到下一层级,但上一层【被选中】的那一项还能被选中)
  2. 最后一层级,点击后无法无法关闭

因一时间未找到解决办法,所以先行合并了前置 pr #1657 ,以完成前置支持,在这里重新提一个 issue 来记录,同时也希望能有社区大佬给解决一波!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the cascader accessibility issues described in the issue: whether the selected option in the previous level can still receive focus or be selected, and whether clicking an option in the final level closes the component. Done means both focus/selection behavior and final-level closing work correctly, with the existing accessibility support preserved.

Written by the indexing model from the issue text.

Assessment

Domain
accessibility, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.