Fonts Library: Replace modal dialog sub-views with disclosure patterns #62977
Labels
[Feature] Font Library
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
Needs Design Feedback
Needs general design feedback.
[Type] Bug
An existing feature does not function as intended
Description
In #54431 many accessibility specialists agreed that a disclosure pattern would be a clearer, more efficient pattern for the fonts management modal dialog content, instead of the current sliding sub-view panels. That feedback went lost, in a way, and I think it's worth reconsidering improvements to the fonts managemetn flow;
As I see it, there are a few inefficient and unclear aspects that could be improved.
Screenshot:
Intead, a disclosure pattern could drastically simplify things. Basically, there wouldn't be sub-views any longer.
The main view of the Library tab would basically be an accordion with items that expand / collpse to reveal / hide the font variants.
As far as I can tell, the only concern that was rasied in #54431 with regards to a disclosure pattern is that the fonts list and each font variants could be long. I'm not sure this would be a big concern because if the content is very long users would have to scroll the modal dialog content anyways, even with the current sub-vew UI.
One more advantage of removing the sub-views in favor of a main panel that uses the discolosure pattern would be making more clear what happens when opening the modal dialog,
Right now:
Step-by-step reproduction instructions
N/A
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: