Feature Request: Option to disable logo from linking to site (for WCAG compliance)
Permalink Browser Info Environment
I've been working to make your theme WCAG 2.1 compliant. I've been able to do nearly all of this with either custom CSS and copying your block templates to the application's folder and modifying them. However, the one area where I've had to modify your source is to disable the href in the logo.
For WCAG compliance, links with the same target adjacent to one another is an issue - so with both the image linking to "home" and the "Home" link in the navigation going to the same destination and are adjacent to each other, means that this is a fail.
I've modified packages/theme_pixel/themes/pixel/elements/header.php and stripped out the href for the logo images, however it'd be great if you were able to consider functionality to enable / disable this from the Pixel dashboard.
Cheers!
For WCAG compliance, links with the same target adjacent to one another is an issue - so with both the image linking to "home" and the "Home" link in the navigation going to the same destination and are adjacent to each other, means that this is a fail.
I've modified packages/theme_pixel/themes/pixel/elements/header.php and stripped out the href for the logo images, however it'd be great if you were able to consider functionality to enable / disable this from the Pixel dashboard.
Cheers!
Type: | Discussion |
---|---|
Status: | Resolved |
Cheers - I did consider hiding the "Home" page from navigation, but I thought on balance the average user would prefer to see the link for "home" in the nav instead of having to figure out that they need to click on the logo.
But thanks for adding it to your list!
Cheers
But thanks for adding it to your list!
Cheers
I added this to our to-do list for the next version, though you can disable the 'home' link in navbar via pixel options, instead.