Carousel behaviour needs more clarification and a demo with matching behaviour
@Heydon がすでに取り組んでいます。
2019年11月13日 から。
評価
この issue はまだ評価されていません。
説明
How the carousel should behave when someone navigates with the tab key and/or with a screen reader is unclear and does not appear to describe what is happening in the demo. Such that the demo does not appear to behave quite as I would expect.
When navigating the carousel demo with the tab key I observed:
- first tab press moves focus to the 'next' button.
- second tab press moves focus to the first list item.
- third tab press moves focus to the in-item topic link (personally not a fan sub-links in carousel items).
- fourth-seventh tab presses move focus through the other visible items and topic links.
- eighth tab press scrolls the carousel but doesn't appear to focus on anything specific (and certainly not the next list item).
- ninth tab press appears to move focus to the last/7th item in the list and it's in-item link (rather unexpected).
- tenth tab press again doesn't appear to focus on anything specific (not sure what to expect at this point).
- eleventh tab press moves focus to the 'previous' button.
- continued tab presses then move through the remaining now visible items and topic links.
If navigating with the tab key should (after the next button) move through the full list of items, then it is not doing this. If navigating with the tab key should trigger the carousel to scroll when moving onward from the last visible item, and then focus on the next/previous buttons before continuing through the new visible items, then the demo is not not doing this correctly either.
Which and what it is supposed to do is unclear from the documentation.
When navigating with screen reader controls (not the tab key) the behaviour is more consistent with what I would expect, though it takes 8 arrow presses to move through each item in the list rather than grouping the content within each item.
One of the big challenges with carousels for keyboard/switch/screenreader navigation is balancing between jumping through a list with next/previous (or scroll forward/backward) buttons, and being able to select an item that is currently visible in the carousel.
When navigating with keyboard control, it is nicely straightforward to ignore the next/previous buttons and move focus from item to item in the list, scrolling items into view as they gain focus. However, this quickly becomes tedious if a carousel contains a long list of items and the user cannot easily jump ahead.
When navigating without sight, it isn't obvious that not all list items are visible/available or that there is a way to skip ahead in the list.
And on mobile, I've seen some carousels without the next/previous arrows, which is not ideal for users who may not understand to swipe. Triggering scroll by touching a partially visible item at the edge of the screen, and keeping the item that currently has focus in the centre, can both help with this (Amy Leak did some user research around this for something else).
It would be good to document the navigation user journey for each type of user (keyboard/switch, screen reader, mobile with/without swipe gestures, etc) to be clearer about how a carousel should behave. And to ensure the demo matches the expected behaviour.
- 主要言語
- JavaScript
- スター
- 50
- フォーク
- 19
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
bbc/gel のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 38/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 52/100
-
Information panels - WCAG 2.1 2. Keyboard Trap再び着手できるかも @mathalete が 997 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
似ている issue
-
from-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
andromarces/agent-loops#1928 ·
メンテナーはふだん 1 日以内に返信
-
enhancement help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
laaielichter/AgentHaven#79 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
microsoft/playwright#44109 ·
メンテナーはふだん 1 日以内に返信
-
Intl spec updatesオープンContent:JS goal: up-to-date needs BCD update
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信