Jump to content

Template talk:Bahnlinie

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Semi-protected edit request on 1 January 2015

[edit]

I need to unlock Drubsplay (talk) 05:59, 1 January 2015 (UTC)[reply]

Not done: it's not clear what changes you want to be made. Please mention the specific changes in a "change X to Y" format. Cannolis (talk) 06:08, 1 January 2015 (UTC)[reply]

RailJet

[edit]

What's the best solution for RailJet services (normally RJ … numbering, but counted as premium ICE within Germany)?

Sladen (talk) 09:04, 20 December 2021 (UTC)[reply]

Accessibility issues created by the Bahnlinie template

[edit]

Adding {{Accessibility dispute}} to the {{Bahnlinie}} template documentation.

In brief, the parameters available for this template facilitate the creation of inaccessible content due to insufficient contrast. There needs to be an additional required parameter to provide accessibility.

Here are the details:

  • Route logo colors often do not meet WCAG 2.1 AA for contrast. A logo itself does not need to meet contrast requirements, but when used for a text or graphic link, then it would need to meet contrast. Using yes, small, dot, or square allows the primary logo color but without harming accessibility.

Without a text link (as provided by yes, small, dot, square), the site visitor may not be able to read the link due to color blindness or low vision.

  • Further, the background may have insufficient contrast with the link underline, when provided, for the site visitor to be able to distinguish between links to pages that exist vs. links to pages which do not exist. If the visitor has their preferences set to always underline links, they may not be able to see the link underline.

The most accessible solution would be something akin to {{Rail color box}} with one of the following accessible replacement values:

  • yes
  • small
  • dot
  • square

So the icon shows up followed by a plain text link.

Please consider this change.

Credit to Mackensen for calling the issue with the {{Bahnlinie}} template to my attention.

Thisisnotatest (talk) 01:54, 8 October 2024 (UTC)[reply]