Change link relationship label.
The label Link rel is used in the image URL input and in the button block to add link relationship types to the links.
I would suggest to change the label to Link relationship, Relation attribute or Relationship attribute. Or should we add a help text? Should we add a link to a help page?
I agree this is super confusing, let's get it fixed! Thanks for reporting.
I would suggest to change the label to Link relationship, Relation attribute or Relationship attribute. Or should we add a help text? Should we add a link to a help page?
I like idea of some explanation and saying the full term.
This was also discussed at #29141
There were some great discussions and suggestions there by @SukcesStrony, @jameskoster, and @jarekmorawski.
To recap suggestions:
- Move the "Link rel" input to the "Advanced" section as mentioned earlier (Update: This was completed in https://github.com/WordPress/gutenberg/pull/29664)
- Add helper text to clarify what the "link rel" is actually for.
Perhaps maybe also hyperlinking "link relation" to https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel in the description text?
Hi all I have created a PR to bring this to life! Please have a look and propose your feedback. Also, the help text that I added can be made more clear imo but wasn't aware of anything better atm.
Removing label as looks like we certainly have a direction.
Reposting from the PR.
I think this falls under the "Need Decision" label. I don't have a strong opinion; both labels work for me. Considering it's an advanced setting, users shouldn't just fill it out.
Additionally, the terminology needs to be consistent across the project. The image link control isn't the only place with this field. Examples:
- https://github.com/search?q=repo%3AWordPress%2Fwordpress-develop+%22%27Link+rel%27%22&type=code
- https://github.com/search?q=repo%3AWordPress%2Fgutenberg+%22%27Link+rel%27%22&type=code
I would hold off making further changes until there's a final decision.