govCMS / GovCMS7

Current stable release of the main Drupal 7 GovCMS distribution, with releases mirrored at https://www.drupal.org/project/govcms
https://www.govcms.gov.au/
GNU General Public License v2.0
113 stars 76 forks source link

A pipe separator appears in html title tag on govCMS site front page #303

Closed pandaskii closed 7 years ago

pandaskii commented 8 years ago

A pipe separator appears in html title tag on govCMS site front page - this is happened after new govCMS release

After investigation, this is from a module - metatag's default settings.

Feng-Shui commented 8 years ago

https://github.com/govCMS/govCMS/pull/316 resolves this issue, test to verify the issue and then the fix.

fiasco commented 8 years ago

Merged #316 which addresses the issue in future releases but need to look at whether this is still an issue for existing sites.

fribibb commented 8 years ago

Using https://gist.github.com/fribibb/e0844a0dc53bb474f122895308a865ab and running: casperjs all-sites-check.js | grep "|$" the following 18, live govCMS sites have a trailing | in the <title> tag:

I'll script up something to check and fix all existing sites - so it will fix live as well as offline sites in blue/green environments.

marblegravy commented 8 years ago

Just coming in to this issue seeing a bunch of the sites we look after in the list above - what's the issue with the pipe separator? Is it just concerns over how some screen readers read out the pipe as "vertical line"?

aleayr commented 8 years ago

It's a bug introduced on the homepage of sites in a previous release where the site title will be trailed by a pipe character even though there isn't a second textual component.

Eg, front page title of ANAO is: "Australian National Audit Office |" -> should be "Australian National Audit Office"

aleayr commented 8 years ago

I should note there isn't anything wrong with the sites operationally, it's just an aesthetics bug we'd like to fix up.

aleayr commented 7 years ago

Was this resolved @govCMS/osb-devs?

I know @courdo1 and/or @fribibb were looking into this.

fribibb commented 7 years ago

No sorry @aleayr, both @courdo1 and I have been pulled onto other things. I'll try and make some time next week for this.

aleayr commented 7 years ago

Confirmation from a number of people at govCMS Camp that this has been resolved.

Might have some existing sites that need tweaks, and will deal on a case-by-case basis.

Feng-Shui commented 7 years ago

@aleayr yes, any existing site that was installed in the period between the Meta Tags module being updated and the PR going in would need a config tweak to fix this.