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

[BITV]: Sharing tab: There is no indicator that "advanced settings" are open #41306

Closed
JuliaKirschenheuter opened this issue Nov 6, 2023 · 7 comments · Fixed by #41473
Closed
Assignees
Labels
1. to develop Accepted and waiting to be taken care of enhancement

Comments

@JuliaKirschenheuter
Copy link
Contributor

There is no indicator that "advanced settings" are open which have to be a case. I would prefer a toggle button instead.

Peek 2023-11-06 14-37

@nimishavijay @marcoambrosini could we replace a button with a toggle one?

The description and toggle state have to be visible for screen readers too.

@JuliaKirschenheuter JuliaKirschenheuter added enhancement 0. Needs triage Pending check for reproducibility or if it fits our roadmap 1. to develop Accepted and waiting to be taken care of and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Nov 6, 2023
@nimishavijay
Copy link
Member

We could change the icon on the right to the expand-more icon when it is closed and the expand-less icon when it is open, would that be enough? :)

@marcoambrosini
Copy link
Member

@nimishavijay shouldn't that icon be on the left btw?

@JuliaKirschenheuter
Copy link
Contributor Author

Thank you!
I would like to know why a toggle button is wrong on that place? An icon won't solve all a11y issues. Semantically it is a toggle button. @nimishavijay please help. Thank you!

@susnux
Copy link
Contributor

susnux commented Nov 9, 2023

I would say the triangle icon needs to point down if open and right if closed. Also I would make the button full width to look like a heading and group the controlled section, like using background?

Something like this?
Screenshot 2023-11-09 at 17-27-17 Files - Nextcloud

@JuliaKirschenheuter JuliaKirschenheuter self-assigned this Nov 9, 2023
@marcoambrosini
Copy link
Member

marcoambrosini commented Nov 10, 2023

@JuliaKirschenheuter could you link some documentation about why this should be a toggle? If this is the case, we'd have to change the pattern in many places in Nextcloud.
As far as UX goes, toggles don't seem to be recommended for progressively disclose content https://www.nngroup.com/articles/toggle-switch-guidelines/

The pattern we're using is an accordion, so a button with aria-expanded="true | false" would suffice as a header. There's no need of any other visual indicators.

@susnux
Copy link
Contributor

susnux commented Nov 11, 2023

so a button with aria-expanded="true | false" would suffice as a header.

And the aria-controlled region tag.

@JuliaKirschenheuter
Copy link
Contributor Author

could you link some documentation about why this should be a toggle?

I thought that would be better on this place. But you are right, lets move with accordion 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants