Related issue: #3156244: Title variable isn't set by Syndicate block - so the link text is an unfinished sentence
Currently the RSS Feed icon block shows to the left of the content within Drupal's default theme, Olivero.
The text next to the icon is hard coded to display the site-name, which is counter-intuitive, and doesn't make sense to people who may not be able to recognize the RSS icon.
Furthermore the configure block UI gives the user the option to change the "Title"... but changing this value has absolutely no effect.

Release notes snippet
The RSS feed block title now reflects the block title as configured, instead of being hard-coded to the site name.
| Comment | File | Size | Author |
|---|---|---|---|
| #18 | 9.5.x-3276108-16.patch | 1.74 KB | jasonfelix |
| #11 | 9.4.x-3276108-10.patch | 1.39 KB | jasonfelix |
| #10 | 9.4.x-3276108-9.patch | 0 bytes | jasonfelix |
| #8 | before.png | 63.22 KB | jasonfelix |
| #8 | after_change_block_title.png | 48.74 KB | jasonfelix |
Issue fork drupal-3276108
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
libbna commentedhi @zenimagine, can you provide a screenshot for more clarity on the issue? Thanks.
Comment #3
zenimagine commentedComment #4
mherchelThis is a valid issue IMHO. Re-openinig and updating summary.
Comment #6
jasonfelix commentedFixed the core/modules/node/src/Plugin/Block/SyndicateBlock.php to get the title of the Block instead of the site name.
Comment #8
jasonfelix commentedPatched for 9.4.x, 9.5.x, and 10.0.x
Comment #10
jasonfelix commentedI modified the Test so it matches the output of the block.
Comment #11
jasonfelix commentedThe previous patch was blank. This one is not. My apologies.
Comment #15
mherchelComment #16
mherchelI brought this to the Drupal UX meeting at #3279239: Drupal Usability Meeting 2022-05-13. There was unanimous consensus that this text should be configurable (as long as it does affect the actual RSS feed, which it will not).
We also need to open a followup to address the fact that the icon is currently hidden from screen readers (via
aria-hidden="true". Currently, if a screen reader user looks to the link it will just announce the site-name text, and the user will not know that it links to a RSS feed.Comment #18
jasonfelix commentedFixed the NodeSyndicateBlockTest to change the label of the block and search for the block label text on the home page.
Comment #19
lauriiiThis makes sense to me, but I guess this could be bit of a BC break, and I'm not sure if a change record would be enough for handling this. Also, deprecating
\Drupal\node\Plugin\Block\SyndicateBlockas a whole seems like a bit much, but I'm not sure I can think of anything else. I guess an alternative could be to update the block title to site name to keep the behavior on FE intact, but that could be confusing too.Comment #20
mherchelThis works great.
Comment #21
catchfwiw I think changing where the title comes from is fine as a straight bugfix without worrying about BC. If the site owner has put something weird in as the block title, they can go into configuration and change it. I don't think we can account for that situation while also accounting for people that put in a custom title they want to use but is currently not used.
However we should only commit this to a minor so it's not a surprise in a patch release for anyone.
Comment #22
mherchelChange record at https://www.drupal.org/node/3284432
Comment #24
catchCommitted/pushed to 10.0.x and cherry-picked to 9.5.x, thanks!
Comment #26
catchComment #27
catchComment #29
quietone commentedI created the follow up asked for in #16, #3315046: The feed icon is hidden from screen readers, so I am removing the tag.