Page MenuHomePhabricator

alt attribute for Wikipedia wordmark has html in it on mobile site
Closed, ResolvedPublic1 Estimated Story Points

Description

The wikipedia mobile site has the following html in the footer:

<li id="footer-info-mobile-switcher"><h2><img src="/static/images/mobile/wikipedia-wordmark-en.png" alt="Wikipedia&lt;sup&gt;®&lt;/sup&gt;" height="15" width="97" /><sup>®</sup></h2>

With images disabled (on my browser), this creates output like:

Wikipedia<sup>®</sup>®

[The last ® being superscript].

This looks rather silly. There is no ® even in the image. It shouldn't be in the alt text, and definitely shouldn't be there twice.

Event Timeline

Jdlrobson added a project: good first task.
Jhernandez raised the priority of this task from Low to Medium.Jul 7 2016, 4:12 PM
MBinder_WMF set the point value for this task to 1.
MBinder_WMF moved this task from Needs Analysis to To Do on the Reading-Web-Sprint-79-Uh-oh board.

Change 304961 had a related patch set uploaded (by Bmansurov):
Remove trademark symbol from logo image alternative text

https://gerrit.wikimedia.org/r/304961

Change 304961 merged by jenkins-bot:
Remove trademark symbol from logo image alternative text

https://gerrit.wikimedia.org/r/304961

bmansurov subscribed.

To test please visit https://en.m.wikipedia.beta.wmflabs.org/wiki/Main_Page and inspect the logo or disable the images and refresh the page.