Problem/Motivation
The a.rel="home" attribute, which is used on multiple places in Drupal core templates, is wrong because it does not exist in specification, as explained in https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel.
This problem was pointed by @andy_blum in Slack discussion about some site logo link accessibility problems we are trying to figure for our contrib base theme.
Proposed resolution
Remove rel="home" from Drupal core.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | remove-rel-home-3347449-2.patch | 10.23 KB | pivica |
Issue fork drupal-3347449
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
pivica commentedHere is a patch.
Comment #6
ranjit1032002Created MR!3635 for the issue metioned , please review.
Thank you
Comment #7
andy-blumThis is a potentially BC-breaking change as sites may be using attribute selectors to target this link for CSS, even though the rel attribute isn't technically valid.
Comment #8
avpadernoComment #9
avpaderno