Interaction pattern for secondary actions on interactive widgets #1407
Labels
enhancement
Any addition or improvement that doesn't fix a code bug or prose inaccuracy
Feedback
Issue raised by or for collecting input from people outside APG task force
Milestone
There are a number of use cases that repeatedly come up for handling secondary actions on interactive elements within complex widget patterns like trees, grids, tabs. etc. For example:
We have a description of how to handle this within a grid, though no example yet. We don't have patterns for how to accomplish this in any other complex widgets. It seems like something we should look into providing documentation and examples for, and figure out if the best interaction pattern would require any ARIA changes around allowed children.
So far, I've seen this solved (when there is any accessible solution attempted) in one of the following ways:
I think the first two (custom context menu and keyboard shortcuts) have the benefit of not requiring nested interactive elements or changes to the ARIA spec. The drawback is that they're not particularly discoverable, and work better for power users.
The third option has the benefit that it can be tailored to feel more intuitive and discoverable to less- to moderately-experienced users. The drawback is that they'd likely require spec change, and some discussion around exactly what the keyboard interaction and semantic structure should be.
Regardless of which approach is best, these have come up regularly enough that I think we should explore creating example patterns for them, perhaps starting with grid (since we have an interaction spec already written), then perhaps tree and tablist?
What does everyone else think?
The text was updated successfully, but these errors were encountered: