-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Group blocks alt
text showing [object Object]
#96079
Comments
@xavier-lc, I couldn't reproduce it here. I tried on atomic and self-hosted sites, and they displayed the alt text correctly. Is there any specific scenario where this issue happens? |
@phcp huh, that's weird, I've just reproduced it on an atomic and simple site with the Chrome browser. As I mentioned on the description, I've seen it when creating a new page. |
Indeed, I just noticed that the atomic site I was testing is broken. I could see the error on other sites. 📌 RESULTS
📌 FINDINGS
📌 ACTIONS
|
I investigated that today, but not much luck. At https://github.com/WordPress/gutenberg, there is the block editor live demo in which I could not reproduce the bug. So, at a first look, does not seem to be related with Gutenberg. I tried self hosted WordPress and got the same results as Paulo. I also checked that translations for |
I can't repro on a Jurassic Ninja site with the GB plugin activated. I'll try and debug on dotcom. |
It happens in Jetpack-mu. The "extra" props listed there with the descriptions: The description is transformed into a "Learn More" which replaces the original description.. This transformed "Learn More" description is intended to be used in the sidebar as a nice help link to learn more about the block, but obviously that won't work for the variations placeholder 🤔 |
Bah, I tried to see if this was always a problem, and it appeared that I reviewed the PR that added the links. @BogdanUngureanu, can you remember if we looked at the variations placeholder on the initial PR? I'm guessing from the test instructions it was an oversight, but if not, then it might help track down when this stopped working. |
@dsas Sorry, I don't remember if we looked at the placeholders. :( |
Following on from my previous comment explaining that this is due to dotcom's "Block guide" support link in descriptions.
To resolve this issue I'm planning to undo the change which added the support links for group, row and stack blocks only :( cc @donalirl . For all of the other blocks, we're arguably living on borrowed time and searching for those blocks is already broken. If these links are important (my assumption is that they are very useful), then the correct thing to do is firstly, demonstrate the importance of this with Gutenberg, and secondly to work with them on a PR. |
Quick summary
On the page editor, creating a group block shows javascript instead of te proper text when hovering the group types. That's because the
aria-label
attribute is not properly set.Steps to reproduce
/wp-admin/post-new.php?post_type=page
Blank page
/
to choose a blockGroup
[object Object]
What you expected to happen
The group type description should be shown instead.
What actually happened
The group types shows
[object Object]
Impact
All
Available workarounds?
No but the platform is still usable
If the above answer is "Yes...", outline the workaround.
No response
Platform (Simple and/or Atomic)
No response
Logs or notes
No response
The text was updated successfully, but these errors were encountered: