Page MenuHomePhabricator

Lint error on maplink
Closed, DuplicatePublicBUG REPORT

Description

In this page https://it.wikivoyage.org/wiki/Speciale:LintErrors/night-mode-unaware-background-color are listed thousands of lint error relevant to the missing "text color" when background color is used.

Let's take for example https://it.wikivoyage.org/wiki/Bolzano#Museion (See listing number 3).
The HTML code associated to it is the following:


<a class="mw-kartographer-maplink mw-kartographer-autostyled mw-kartographer-link" data-mw-kartographer="maplink" data-style="osm-intl" href="#/maplink/4" data-zoom="17" data-lat="46.497362" data-lon="11.348429" style="background: #4682B4;" data-overlays="[&quot;mask&quot;,&quot;around&quot;,&quot;buy&quot;,&quot;city&quot;,&quot;do&quot;,&quot;drink&quot;,&quot;eat&quot;,&quot;go&quot;,&quot;listing&quot;,&quot;other&quot;,&quot;see&quot;,&quot;sleep&quot;,&quot;vicinity&quot;,&quot;view&quot;]">3</a>


According to the help page, there's no way to customize the text color, and it would be fine. However, according to the lint error rules, a default text color shall be set (in this case "color: white;").

Let me know if my interpretation is correct or not.