Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[focusgroup] clarify and handle cases where scrollable regions have focusgroups (accessiblity) #190

Open
w3cbot opened this issue Feb 28, 2024 · 2 comments
Labels
agenda+ To be discussed on the next APA WG call cg:open-ui https://www.w3.org/groups/cg/open-ui s:open-ui https://open-ui.org/ tracker Group bringing to attention of a11y, or tracked by the a11y Group but not needing response from a11y

Comments

@w3cbot
Copy link

w3cbot commented Feb 28, 2024

This is a tracker issue. Only discuss things here if they are a11y group internal meta-discussions about the issue. Contribute to the actual discussion at the following link:

§ openui/open-ui#1008

@w3cbot w3cbot added pending Issue created by the tracker tool and may need to be refined s:open-ui https://open-ui.org/ tracker Group bringing to attention of a11y, or tracked by the a11y Group but not needing response from a11y cg:open-ui https://www.w3.org/groups/cg/open-ui labels Feb 28, 2024
@matatk matatk added the agenda+ To be discussed on the next APA WG call label Mar 15, 2024
@travisleithead
Copy link
Member

Executive summary: there is a conflict for the default use of arrow keys when in the presence of a [proposed] focusgroup: to scroll a scrollable or to move focus to a focusable.

@AutoSponge
Copy link

I don't like the proposed behavior. I like Scott's approach of using a modifier key. But I feel like that's going to be hard to do since JavaScript will be controlling the roving tabindex behavior and the browser is handling scroll. The inverse could be possible and while it muddles and affordance, it's still holding that the default (scroll with arrows) works for most. The only situation I can predict where that could be problematic, is if the scrolling focusgroup is a radiogroup. In that case, the browser is controlling both behaviors and Scott's idea makes sense.

So, my counter proposal would be something like: when the browser controls both the focus group and scrollable, a modifier key will be used to scroll. When only scroll is controlled by the browser, authors SHOULD use roving tabindex pattern with a modifier key. When only focus group is controlled by the browser (not sure why but probably possible with scroll none and some fancy script), authors SHOULD facilitate scroll with a modifier key.

@matatk matatk removed the pending Issue created by the tracker tool and may need to be refined label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agenda+ To be discussed on the next APA WG call cg:open-ui https://www.w3.org/groups/cg/open-ui s:open-ui https://open-ui.org/ tracker Group bringing to attention of a11y, or tracked by the a11y Group but not needing response from a11y
Projects
None yet
Development

No branches or pull requests

4 participants