Page MenuHomePhabricator

provide alternate text "main page" on top of logo left top
Closed, DuplicatePublicFeature

Description

Feature summary (what you would like to be able to do and where):
contrary to other images and links left top log has no alternate text.

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):

Benefits (why should this be implemented?):
in case the image is not displayed, or hovering over the image gives a text, as well for visually impaired it is better.

Event Timeline

Are you reporting this against any skin in particular?

For example,

On Desktop Improvements (Vector 2022) it explicitly set to "", which should be fixed:

<a href="/wiki/Main_Page" class="mw-logo">
	<img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" width="50" height="50">
	<span class="mw-logo-container">
		<img class="mw-logo-wordmark" alt="Wikipedia" src="/static/images/mobile/copyright/wikipedia-wordmark-en.svg" style="width: 7.5em; height: 1.125em;">
		<img class="mw-logo-tagline" alt="The Free Encyclopedia" src="/static/images/mobile/copyright/wikipedia-tagline-en.svg" style="width: 7.3125em; height: 0.8125em;" width="117" height="13">
	</span>
</a>

On Timeless, there is no alt, but hover does give the "title"

<div id="p-logo" class="mw-portlet" role="banner"><a class="mw-wiki-logo timeless-logo" href="/wiki/Main_Page" title="Visit the main page"><img src="/static/images/icons/wikipedia.png"></a></div>

I assume the report is about Vector 2022. Vector legacy displays MediaWiki:Tooltip-p-logo where the default English is "Visit the main page". I don't know whether it was intentionally dropped in Vector 2022 for some reason.

it is indeed for vector 2022, which still 2023.07, does not have an alternate text.

  NODES
Note 1
Project 2