No Code Attached Yet a11y bug
avatar pl71
pl71
27 Oct 2022

Steps to reproduce the issue

Joomla site with menu item "Featured Articles" and several articles marked "Featured";
Browser Page Title: My Blog;
Site Name in Page Titles: After;
Depending on the settings you will have a page with some articles and pagination controls below them.
Number 2 of the pagination control will lead to "example.com/?start=5"
Number 3 of the pagination control will lead to "example.com/?start=10"

Expected result

HTML Source:

  • <title>My Blog - Page 2 - My site name</title> or similar
  • <title>My Blog - Page 3 - My site name</title>, etc.

Actual result

HTML Source:
<title>My Blog - My site name</title> for each page

So we have the same Title tag for:

  • example.com
  • example.com/?start=5
  • example.com/?start=10
  • example.com/?start=15

but all of these pages have different content.
So it is not quite appropriate for all of them to have the same title tag.
SEO checkers (semrush) also complain about that behaviour.

System information (as much as possible)

Joomla 4.2.4

Additional comments

Votes

# of Users Experiencing Issue
0/1
Average Importance Score
1.00

avatar pl71 pl71 - open - 27 Oct 2022
avatar pl71 pl71 - change - 27 Oct 2022
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 27 Oct 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 27 Oct 2022
avatar brianteeman
brianteeman - comment - 27 Oct 2022

Can someone please tag this for the @joomla/joomla-accessibility-team-jat as its an accessibility failure to have multiple links with the same info

avatar richard67 richard67 - change - 27 Oct 2022
Labels Added: a11y
avatar richard67 richard67 - labeled - 27 Oct 2022
avatar brianteeman
brianteeman - comment - 27 Oct 2022

actually I just checked and there is no title tag on the link and there is a unique aria label. Are you sure it is not a template issue?

image

avatar pl71
pl71 - comment - 27 Oct 2022

Maybe I was not so clear.
I mean the title tag in the head section of HTML page source.

<head>
<title>...</title>
</head>
avatar brianteeman
brianteeman - comment - 27 Oct 2022

ah - sorry I did misunderstand.

the a11y tag can be removed

avatar richard67 richard67 - change - 27 Oct 2022
Labels Removed: a11y
avatar richard67 richard67 - unlabeled - 27 Oct 2022
avatar hans2103
hans2103 - comment - 27 Oct 2022

@pl71

you're expecting:

<title>My Blog - Page 2 - My site name</title> or similar
<title>My Blog - Page 3 - My site name</title>, etc.

Wouldn't the next expectation even be better?

<title>My Blog - Page 2 of 15 - My site name</title> or similar
<title>My Blog - Page 3 of 15 - My site name</title>, etc.

Where 15 is the total amount of pages?

avatar pl71
pl71 - comment - 27 Oct 2022

Probably better.
I don't know how other CMS handle this issue (if any issue at all).
But don't forget: 50 – 60 characters are SEO Industry Recommended Title Tag Length, you have 5 or 6 chars more.

avatar chmst chmst - change - 14 Nov 2022
Labels Added: a11y
avatar chmst chmst - labeled - 14 Nov 2022
avatar chmst
chmst - comment - 14 Nov 2022

The title tag is relevant fpr a11y.
@pl71 the name of your blog can be very long and other languages could have longer words for "Page". So the recommended SEO length will be hard to meet.

avatar chmst
chmst - comment - 17 Nov 2022

A shorter form for pagination would be for example 45(138).

<title>My Travelling Blog 2022 45(138) - Visit Beautiful Indonesia
avatar pl71
pl71 - comment - 17 Nov 2022

@chmst - I prefer the page word to be included for clarity. Many other languages indeed have longer words for page, for example, Bulgarian - "страница", but they also have abbreviations - "стр."
This is important if you want to support a11y (do screen readers read browser titles?)
If they do, so they will read these numbers and brackets.
The title tag should sound like a regular (and complete) sentence without strange numbers and brackets inside.
What you may do for better SEO is to drop the site name, especially if it is too long.

avatar uruk-hai-21
uruk-hai-21 - comment - 6 Dec 2022

Niente?

avatar Hackwar Hackwar - change - 22 Feb 2023
Labels Added: bug
avatar Hackwar Hackwar - labeled - 22 Feb 2023

Add a Comment

Login with GitHub to post a comment