Additional CSS navigation button only shown when there is some additional CSS already set #66333
Open
3 of 6 tasks
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
Needs Design Feedback
Needs general design feedback.
[Package] Edit Site
/packages/edit-site
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
Noticed on a screenshot provided by @jameskoster on #66307 (comment)
Looking at that screenshot, I was wondering why I didn't see any 'Additional CSS' button in my Styles panel.
Turns out that seems intentional, as the navigation button is rendered based on a condition that also checks whether some additional CSS is already set.
I had to figure out how to navigate to the Additional CSS panel and ultimately found it in the 'More' ellipsis button at the top of the Styles panel.
To me, this seems to be a perfect way to hide features and make them less discoverable from users. I'd appreciate to know why the navigation button is rendered conditionally and whether this makes the UI more usable in any way.
I'd like to propose to make things simple and just not implement behaviors that may look smart at first but ultimately are arguable ad likely confusing for users.
@WordPress/gutenberg-design do you know why this is rendered only after some adidtional CSS has been set?
Also, the feature description:
Add your own CSS to customize the appearance and layout of your site.
is completely missing at first and only shown after the feature has been used. It's arguably usable to provide a description only after the feature it relates too has been used.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: