Bug 26913 - More than one title element on homepage when news item is displayed
Summary: More than one title element on homepage when news item is displayed
Status: CLOSED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: 19.11
Hardware: All All
: P5 - low minor
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-03 15:52 UTC by Phil
Modified: 2021-12-13 21:10 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phil 2020-11-03 15:52:44 UTC
When a news item is displayed on the OPAC homepage, there are two title elements on the page. This doesn't meet standards required by WCAG Technique H25 which states that a page should only have one title element. 

https://www.w3.org/TR/WCAG20-TECHS/H25.html 

Could the title element in the news item be a paragraph or a div instead?
Comment 1 Owen Leonard 2020-11-04 15:07:01 UTC
I cannot reproduce this error in 19.11.x. Are you sure the HTML isn't coming from the contents of your news item?
Comment 2 Phil 2020-11-05 09:15:30 UTC
(In reply to Owen Leonard from comment #1)
> I cannot reproduce this error in 19.11.x. Are you sure the HTML isn't coming
> from the contents of your news item?

Thanks Owen, I had considered this as well, but the title element is populated by the title feed in the news form rather than the open text field.
Comment 3 Martin Renvoize (ashimema) 2020-11-05 11:24:52 UTC
Hi Phil,

I'm afraid I'm also struggling to replicate this.. do you have an example site we could look at displaying the issue?

Feel free to reach out to me directly if your worried about sharing the URL more publically.
Comment 4 Jonathan Druart 2020-12-21 10:18:58 UTC
Phil, can you provide an example?