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

Consider adapting the tabbed interface component so it morphs to a show/hide in mobile view #1458

Open
DavidMacDonald opened this issue Jul 20, 2020 · 1 comment

Comments

@DavidMacDonald
Copy link

DavidMacDonald commented Jul 20, 2020

https://www.w3.org/TR/wai-aria-practices-1.1/examples/tabs/tabs-2/tabs.html

Tabbed interfaces almost never work on mobile. Most commercial tabbed components morph into show/hide mechanisms (sometimes accordions) in mobile mode.

When I point devs to this tabbed interface they complain that they'll lose the mobile functionality.

I suggest we explore how much dev work it would be to morph the tabbed interface, in mobile view, to a generic show hide where each tab becomes the button to expand collapse what was the tab panel on desktop.

This could be part of the mobile initiative.

@Malvoz
Copy link

Malvoz commented Nov 20, 2021

Spicy Sections may serve as inspiration for this, see the behavior in https://bkardell.com/blog/SpicySections.html.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants