Bug 26913

Summary: More than one title element on homepage when news item is displayed
Product: Koha Reporter: Phil <gormanp>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: CLOSED WORKSFORME QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: bolshawh, jonathan.druart, martin.renvoize
Version: 19.11   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

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 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?