Template talk:Navbox/Archive 19
![]() | This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 15 | ← | Archive 17 | Archive 18 | Archive 19 | Archive 20 | Archive 21 | → | Archive 24 |
Accessibility
The default colours of this template, with #332BCD ( ; links) against #CCCCFF ( ) or #DDDDFF ( ) backgrounds, is of insufficient contrast to meet WP:COLOUR, as explained at WP:Colour contrast. Paler backgrounds such as #ECECFF ( ) or #ECECF2 ( ), would be OK. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 11:42, 30 July 2015 (UTC)
- I don't know where you get the #332BCD, but our default link color is ##0645AD, which on #CCCCFF is AA compliant.
-- [[User:Edokter]] {{talk}}
16:37, 30 July 2015 (UTC)- But not AAA compliant (I sampled using "Colour Contrast Analyser version 2.2a"; perhaps I caught shading). Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 17:24, 30 July 2015 (UTC)
- Only the color. Contrast-wise, it is OK. We are comitted to accessability, but that doesn't mean everything should be AAA.
-- [[User:Edokter]] {{talk}}
17:52, 30 July 2015 (UTC)- @Edokter: Everything should be AAA when feasible. This seems feasible to fix. EvergreenFir (talk) Please {{re}} 19:08, 30 July 2015 (UTC)
- I'm all for accessability, but this is just chasing complience, not an actual improvement. If everything on WP must be AAA, we'd probably have to change everything.
-- [[User:Edokter]] {{talk}}
19:22, 30 July 2015 (UTC)- No. By definition, moving from AA to AAA is an improvement. There is always a spectrum of disability with visual impairment, and a proportion of readers will be unable to cope with AA (or find it difficult) but will be able read AAA. WCAG differentiates between AA and AAA by stating "It is not recommended that Level AAA conformance be required as a general policy for entire sites because it is not possible to satisfy all Level AAA Success Criteria for some content."[1] So we ask editors to meet AA standards and AAA where possible. It is perfectly possible to make the foreground and background colours in a template meet AAA standards - and therefore we ought to require that. The relaxation to AA is only for situations where meeting AAA standards is not possible, and this isn't one of them. --RexxS (talk) 02:41, 31 July 2015 (UTC)
- We won't have to change "everything", because we already mangae to have a lot of things that are already AAA compliant - it's not hard to do. But this is not about changing much, just one small, though widely-used, template. You do not seem to advance any argument that it is infeasible to make this template AAA compliant, so I suggest that we do so ASAP. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 06:26, 31 July 2015 (UTC)
- It is still a color change on a universally used template. If the link color is not AAA here, it isn't AAA on any other template that uses a blue(ish) background color. So it stands to reason to change the link color instead.
-- [[User:Edokter]] {{talk}}
17:26, 31 July 2015 (UTC)
- It is still a color change on a universally used template. If the link color is not AAA here, it isn't AAA on any other template that uses a blue(ish) background color. So it stands to reason to change the link color instead.
- I'm all for accessability, but this is just chasing complience, not an actual improvement. If everything on WP must be AAA, we'd probably have to change everything.
- @Edokter: Everything should be AAA when feasible. This seems feasible to fix. EvergreenFir (talk) Please {{re}} 19:08, 30 July 2015 (UTC)
- Only the color. Contrast-wise, it is OK. We are comitted to accessability, but that doesn't mean everything should be AAA.
- But not AAA compliant (I sampled using "Colour Contrast Analyser version 2.2a"; perhaps I caught shading). Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 17:24, 30 July 2015 (UTC)
- Does anyone have any preferred AAA-complaint colours, or shall I just pick some? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 06:26, 31 July 2015 (UTC)
- The darkest blue that gets AAA-compliance with #0645AD is #E7E7FF -- WOSlinker (talk) 07:18, 31 July 2015 (UTC)
- I'm not sure I have an opinion on changing these colors yet, but we should consider the best color against a:visited, not a. Which the Firefox inspector declined to provide me that color when I clicked on some links. --Izno (talk) 13:28, 31 July 2015 (UTC)
- Why? The visited link colour is darker. Alakzi (talk) 13:31, 31 July 2015 (UTC)
- I'm probably not sure what I'm talking about in discussion of contrast then. Time for some research I suppose. --Izno (talk) 13:47, 31 July 2015 (UTC)
- my stylesheet was using e6e6ff, eeeeff, and efefff, but e7e7ff, eeeeff, and efefff would work as well [2]. Frietjes (talk) 13:39, 31 July 2015 (UTC)
- @Pigsonthewing and Alakzi: Changes to link colors would need to be discussed someone with a larger audience... but I've noticed that is almost never AAA compliant on any non-white background. I think either we need to discuss (1) changing the link color or (2) allowing AA compliance against and AAA compliance against EvergreenFir (talk) Please {{re}} 17:50, 31 July 2015 (UTC)
- WP:COLOUR requires AAA "where feasible". It is clearly feasible to change the background in this template. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 16:27, 1 August 2015 (UTC)
- Then we will only be able to use pastel colors. EvergreenFir (talk) Please {{re}} 16:48, 1 August 2015 (UTC)
- That's a problem because..? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 16:55, 1 August 2015 (UTC)
- It severely limits options? I'd rather see the link color change. EvergreenFir (talk) Please {{re}} 18:01, 1 August 2015 (UTC)
- That's a problem because..? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 16:55, 1 August 2015 (UTC)
- Then we will only be able to use pastel colors. EvergreenFir (talk) Please {{re}} 16:48, 1 August 2015 (UTC)
- WP:COLOUR requires AAA "where feasible". It is clearly feasible to change the background in this template. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 16:27, 1 August 2015 (UTC)
- @Pigsonthewing and Alakzi: Changes to link colors would need to be discussed someone with a larger audience... but I've noticed that is almost never AAA compliant on any non-white background. I think either we need to discuss (1) changing the link color or (2) allowing AA compliance against and AAA compliance against EvergreenFir (talk) Please {{re}} 17:50, 31 July 2015 (UTC)
- Why? The visited link colour is darker. Alakzi (talk) 13:31, 31 July 2015 (UTC)
To demonstrate the problem with AAA contrast against the unvisited link color, here's a table of the darkest AAA colors possible:
colour table
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
First 5 columns and table syntax taken from User:RexxS/AAAcolour. EvergreenFir (talk) Please {{re}} 18:17, 31 July 2015 (UTC)
Contrast ratios
{{#invoke:Color contrast|styleratio|css style statement string|default background color|default text color}}
should now work (ymmv), which means one could introduce tracking for finding particular bad combinations in |titlestyle=
, |basestyle=
, |groupstyle=
, ... it won't parse <span>...</span>
and <font>...</font>
strings within the |title=
, |groupX=
, ... but that could be done as well with some string processing within this module. Frietjes (talk) 16:05, 1 August 2015 (UTC)
![]() | This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Not knowing about this debate, I implemented this in the sandbox. It only checks styles against the AA standard. Can at least this be integrated into the main version? —Keφr 12:15, 6 September 2015 (UTC)
Done Alakzi (talk) 11:06, 7 September 2015 (UTC)
- Had to revert. See Template_talk:Navbox#Change_reverted. -- WOSlinker (talk) 11:39, 7 September 2015 (UTC)
Tracking category
Pinging @Pigsonthewing, Alakzi, and Mr. Stradivarius: - Can we get a tracking category for this template at all? I imagine it would compare the basestyle and the groupstyle to the #0645AD. (Please ping in reply) EvergreenFir (talk) Please {{re}} 04:15, 14 August 2015 (UTC)
- see the last example in Module:Color_contrast. Frietjes (talk) 22:07, 14 August 2015 (UTC)
Redux
We still need to agree a solution to this. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 22:17, 25 August 2015 (UTC)
- I've brightened the colours below as a demonstration. Would this be a good starting point? Alakzi (talk) 13:54, 26 August 2015 (UTC)
I like your new (the second) design. I propose that we adopt it. If others have alternative, equally accessible solutions, then I suggest that we adopt your styling as an accessible interim solution while we discuss them and reach a consensus. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 14:38, 26 August 2015 (UTC)
- @Alakzi: I see the code is in a module, What actually needs to be changed? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 20:28, 26 August 2015 (UTC)
- The changes need to be made to the navbox classes in MediaWiki:Common.css. Alakzi (talk) 20:30, 26 August 2015 (UTC)
- I find them way too pale. Requiring AAA is severly limiting use of color. I think AAA should be reserved for running text, not interface and navigation elements, which are better suited with AA.
-- [[User:Edokter]] {{talk}}
21:08, 26 August 2015 (UTC)- "Sorry folks, your visual disability means you are not suited to use our interface and navigation elements" is hardly compatible with WMF policy. But you're welcome to propose rewriting WP:COLOUR, which specifically refers to colour-contrast within templates and tables, if you think there will be consensus to do so. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 22:18, 26 August 2015 (UTC)
- No need to be so dramatic. Note that AAA is warranted where possible. And while that is a broad term, it comes down to common sense. The fact remains that AAA basically allow only black and white. The general public should not suffer from the measures imposed to accomodate the few. That is why there are several levels of accessability; AA is perfectly suitable for navigation, while AAA is targeted at content.
-- [[User:Edokter]] {{talk}}
16:34, 28 August 2015 (UTC)- My invitation stands. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:21, 28 August 2015 (UTC)
- Edokter, that can't be right - how are you going to find the content you want to read if you can't use the navigational elements? Opabinia regalis (talk) 20:25, 28 August 2015 (UTC)
- It's not "can't"; it's just a little harder to see perhaps. Don't make it sound as if anything non-AAA is absoletely unreadable.
-- [[User:Edokter]] {{talk}}
20:48, 28 August 2015 (UTC)
- It's not "can't"; it's just a little harder to see perhaps. Don't make it sound as if anything non-AAA is absoletely unreadable.
- No need to be so dramatic. Note that AAA is warranted where possible. And while that is a broad term, it comes down to common sense. The fact remains that AAA basically allow only black and white. The general public should not suffer from the measures imposed to accomodate the few. That is why there are several levels of accessability; AA is perfectly suitable for navigation, while AAA is targeted at content.
- "Sorry folks, your visual disability means you are not suited to use our interface and navigation elements" is hardly compatible with WMF policy. But you're welcome to propose rewriting WP:COLOUR, which specifically refers to colour-contrast within templates and tables, if you think there will be consensus to do so. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 22:18, 26 August 2015 (UTC)
Let's not make this any harder than it has to be: we need a neutral color scheme for the default design of Template:Navbox. Why not simply use the same background and link colors as those used for the standard Wikipedia frameset: pale blue screen with dark blue links and black text. Given that it is ubiquitous on every page of Wikipedia, I assume it is AAA-color-contrast compliant. It would also have the obvious advantage of appearing to be part of a common Wikipedia layout and design. Dirtlawyer1 (talk) 20:35, 27 August 2015 (UTC)
- Which is the frameset? Alakzi (talk) 21:07, 27 August 2015 (UTC)
- A: What I'm calling the "frameset" is everything to the left and atop the Wikipedia pages that may be edited. To the left there are the menus, upper left there is Wikipedia globe logo, and on top there are the Template, Talk, Read, Edit, View history, and More tabs. It appears to be a 10 to 20 percent blue screen, with royal blue links, black text, and two shades of blue tool lines. I believe this is the default frameset, but you can choose other preferences on your preferences page. Dirtlawyer1 (talk) 01:25, 28 August 2015 (UTC)
- @Alakzi and Edokter: And strangely, the frameset color scheme appears to be very close to Alakzi's second option above. Coincidence? I doubt it. I suspect the WMF website design guys have already been through this exercise. Isn't there a "reveal codes" function for web pages whereby you can examine the underlying HTML coding and hex colors? I find it difficult to understand how Edokter or anyone else could object to a default design that uses the same colors as our basic Wikipedia frameset. It is, after all, a default design which we all know can be changed in any particular instance to any set of colors that are AAA-contrast compliant. Dirtlawyer1 (talk) 17:24, 28 August 2015 (UTC)
- You could use the inspector in your browser (right click and "Inspect Element" in Firefox, Chrome and Safari). Alakzi (talk) 17:34, 28 August 2015 (UTC)
- @Dirtlawyer1: Or you could look at the HTML for the whole page at once, virtually all browsers provide a "View page source" function (or similar), usually through right-click but it might be in the menu bar. Ctrl+U works in several. But please don't use the term "frameset" for something that isn't. --Redrose64 (talk) 18:01, 28 August 2015 (UTC)
- @Redrose64: Yes, sir, Ctrl-U does reveal the page's underlying HTML coding in Mozilla Firefox, which I use as my primary browser. For my own education, if the pale blue rectangular spaces that contain our menu list to the left and various article-related tabs on top of a Wikipedia webpage are not part of the "frameset," then what is the correct terminology? Dirtlawyer1 (talk) 18:26, 28 August 2015 (UTC)
- Ctrl-U would be useless since the stylesheets are external to the document. Alakzi (talk) 18:30, 28 August 2015 (UTC)
- In Firefox, the page source obtained through Ctrl+U has clickable links to external pages, including the stylesheets; these are mostly the
<link rel="stylesheet" href="..." />
elements. There are the top navigation menu, the tabs, the left navigation menu, and the footer. --Redrose64 (talk) 18:54, 28 August 2015 (UTC)
- In Firefox, the page source obtained through Ctrl+U has clickable links to external pages, including the stylesheets; these are mostly the
- Ctrl-U would be useless since the stylesheets are external to the document. Alakzi (talk) 18:30, 28 August 2015 (UTC)
- @Redrose64: Yes, sir, Ctrl-U does reveal the page's underlying HTML coding in Mozilla Firefox, which I use as my primary browser. For my own education, if the pale blue rectangular spaces that contain our menu list to the left and various article-related tabs on top of a Wikipedia webpage are not part of the "frameset," then what is the correct terminology? Dirtlawyer1 (talk) 18:26, 28 August 2015 (UTC)
- @Dirtlawyer1: Or you could look at the HTML for the whole page at once, virtually all browsers provide a "View page source" function (or similar), usually through right-click but it might be in the menu bar. Ctrl+U works in several. But please don't use the term "frameset" for something that isn't. --Redrose64 (talk) 18:01, 28 August 2015 (UTC)
- You could use the inspector in your browser (right click and "Inspect Element" in Firefox, Chrome and Safari). Alakzi (talk) 17:34, 28 August 2015 (UTC)
- @Alakzi and Edokter: And strangely, the frameset color scheme appears to be very close to Alakzi's second option above. Coincidence? I doubt it. I suspect the WMF website design guys have already been through this exercise. Isn't there a "reveal codes" function for web pages whereby you can examine the underlying HTML coding and hex colors? I find it difficult to understand how Edokter or anyone else could object to a default design that uses the same colors as our basic Wikipedia frameset. It is, after all, a default design which we all know can be changed in any particular instance to any set of colors that are AAA-contrast compliant. Dirtlawyer1 (talk) 17:24, 28 August 2015 (UTC)
- A: What I'm calling the "frameset" is everything to the left and atop the Wikipedia pages that may be edited. To the left there are the menus, upper left there is Wikipedia globe logo, and on top there are the Template, Talk, Read, Edit, View history, and More tabs. It appears to be a 10 to 20 percent blue screen, with royal blue links, black text, and two shades of blue tool lines. I believe this is the default frameset, but you can choose other preferences on your preferences page. Dirtlawyer1 (talk) 01:25, 28 August 2015 (UTC)
- the proposed replacement colours looks good to me, and close to what I have in my common.css. Frietjes (talk) 21:15, 28 August 2015 (UTC)
Consensus?
It looks like we've got a consensus for the new colour scheme. Who will do the honours? Alakzi (talk) 22:15, 28 August 2015 (UTC)
- I see like, 5 people. For changing the default of a template used on over a million articles, you're going to need a few more people to comment. An {{RFC}}'s worth. --Izno (talk) 00:26, 29 August 2015 (UTC)
- We could do without the trolling in your edit summaries, TYVM. Brightening the colours slightly to satisfy WP:COLOUR is uncontroversial; inviting the input of the uninformed masses is one stupid idea. Alakzi (talk) 00:43, 29 August 2015 (UTC)
- Why don't you get the uninformed mass's opinion on this one before deeming it "uncontroversial"? You must not watch any of the village pumps, else I think you'd probably know how "uncontroversial" changing anything affecting the website at-large can be. --Izno (talk) 01:52, 29 August 2015 (UTC)
- We could do without the trolling in your edit summaries, TYVM. Brightening the colours slightly to satisfy WP:COLOUR is uncontroversial; inviting the input of the uninformed masses is one stupid idea. Alakzi (talk) 00:43, 29 August 2015 (UTC)
- There is no consensus here, and such a change would certainly generate a lot of controversy. Like it or not, the world wide web is a visual medium, and requiring AAA on everything is not feasable, which happens to be the condition set by WP:COLOUR for AAA. Put this to an RfC if you must, but I'm not going to change any colors based only on the discussion above.
-- [[User:Edokter]] {{talk}}
08:03, 29 August 2015 (UTC)- Those paler colours are very monitor dependant. I've got two different monitors and on one, the AAA colours look ok and on the other the colours look very washed out. I would prefer having the AAA colours as an optional gadget. -- WOSlinker (talk) 08:42, 29 August 2015 (UTC)
- Your misconfigured monitors are not our problem. HTH. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 09:29, 29 August 2015 (UTC)
- Well, if the gatekeeper said no, I think I'm done with this talk page. Alakzi (talk) 08:50, 29 August 2015 (UTC)
- And if anybody's interested, take a look at MediaWiki talk:Common.css, where he flatly refuses to implement several changes there's consensus for because he knows better. Alakzi (talk) 08:58, 29 August 2015 (UTC)
- How is it my fault that no other admin is bothered by sitewide CSS? Maybe because they think it is in good hands...
-- [[User:Edokter]] {{talk}}
09:38, 29 August 2015 (UTC) - Alakzi: attitudes like that have already caused Plastikspork and Gadget850 to quit - is it your intent that Edokter be similarly driven away? It certainly isn't mine. --Redrose64 (talk) 12:56, 30 August 2015 (UTC)
- What a pathetic attempt to turn this around on me; and what a pity you've only got any sympathy for administrators. Alakzi (talk) 13:25, 30 August 2015 (UTC)
- Right, you clearly want me gone too. Unwatching. --Redrose64 (talk) 13:39, 30 August 2015 (UTC)
- @Redrose64: Be careful what situations you cite; Plastikspork had clearly been in decline for a long time, and reacted very badly when another administrator reasonably questioned a poorly reasoned TfD close, and then quit in a huff. No one, no single administrator, should be perpetually responsible for bearing the burden of work in any particular area. It inevitably leads to a perspective of exaggerated indispensability and burnout. I for one respect the work Edokter does elsewhere, but I have also seen signs of self-perceived "indispensability." That said, I think everyone should dial it back a notch or two rhetorically. Alakzi and others are correct when they say AAA-color-contrast compliance is strongly preferred and achievable in this instance; Edokter also has a point, in that we should not rely on "consensus" of four or five participants in 24 hours for a change that impacts thousands of templates, and hundreds of thousands of articles and template transclusions. We can certainly solicit more input, more widely, and wait a few a days for that input. I for one would also like to hear from Edokter why we should not use a default color scheme for navboxes that is identical or very close to the color scheme for our default Wikipedia menus and tabs that appear on every Wikipedia page -- as previously noted by me above -- and which is very, very close to the color scheme proposed by Alakzi above. The logic of it is undeniably strong. So, how about it, Edokter? Dirtlawyer1 (talk) 13:38, 30 August 2015 (UTC)
- Dirtlawyer1 I am not easily pushed away. I also don't feel 'indispensible'; I just like taking care of technical stuff. That said, I continue to oppose this change, because the only reason for seem to be the unconditional complience to AAA. If you looked at the color table above, that basically means we can only use colors that are nearly white against nearly black. That is too severe a constraint in our use of colors. That is why it says "when feasable". I know it's vague, but it does apply here, in that it is not feasable. I don't know how these AAA standards came to be, but they are touted as a fix-for-all, which I do not believe. Just look in your Windows color schemes and try the high-contrast settings, which any sight-impaired user has no doubt already enabled. Also, color use is not the only factor in legibility and accessability as the WCAG suggests. One should olso properly interpret the WCAG's recomendations, and what the ratings actually means:
- Priority 1: Web developers must satisfy these requirements, otherwise it will be impossible for one or more groups to access the Web content. Conformance to this level is described as A.
- Priority 2: Web developers should satisfy these requirements, otherwise some groups will find it difficult to access the Web content. Conformance to this level is described as AA or Double-A.
- Priority 3: Web developers may satisfy these requirements, in order to make it easier for some groups to access the Web content. Conformance to this level is described as AAA or Triple-A
- So you see that AAA is not a "requirement", just a step further to make it a little easiers for the impaired. That is what our accessability guidelines are based on: that we "at least" provide AA, and use AAA "where feasable". That is maybe even more strict then the actual WCAG guideline. So yes, I continue to oppose this change, which is proposed only for the sake of the change, and not on any argument that is actually backed by the WCAG recomendations.
-- [[User:Edokter]] {{talk}}
14:59, 30 August 2015 (UTC)- @Edokter: I've read it and I understand it, as well or better than some of the folks who are trying to enforce it. That said, you're missing the point: this is the default color scheme. Because I frequently work with sports articles, I am well aware of the panoply of ways to use multiple team colors and still obtain AAA compliance. The most problematic elements are the royal blue links -- they usually work best on white backgrounds, but the overwhelming msjority of our navboxes already use white backgrounds for the interior navbox space where the links are located. The pale blue percentage screens for the interior navbox background space are arguably redundant anyway. This is not about whether other non-default color schemes for navbox exeriors and graphics may be used; they are, and they can comply. Dirtlawyer1 (talk) 16:00, 30 August 2015 (UTC)
- The "Priorities" quoted by Edokter are from WCAG 1.0; which was superseded by WCAG 2.0, over six years ago. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 18:16, 30 August 2015 (UTC)
- Dirtlawyer1 I am not easily pushed away. I also don't feel 'indispensible'; I just like taking care of technical stuff. That said, I continue to oppose this change, because the only reason for seem to be the unconditional complience to AAA. If you looked at the color table above, that basically means we can only use colors that are nearly white against nearly black. That is too severe a constraint in our use of colors. That is why it says "when feasable". I know it's vague, but it does apply here, in that it is not feasable. I don't know how these AAA standards came to be, but they are touted as a fix-for-all, which I do not believe. Just look in your Windows color schemes and try the high-contrast settings, which any sight-impaired user has no doubt already enabled. Also, color use is not the only factor in legibility and accessability as the WCAG suggests. One should olso properly interpret the WCAG's recomendations, and what the ratings actually means:
- What a pathetic attempt to turn this around on me; and what a pity you've only got any sympathy for administrators. Alakzi (talk) 13:25, 30 August 2015 (UTC)
- How is it my fault that no other admin is bothered by sitewide CSS? Maybe because they think it is in good hands...
- And if anybody's interested, take a look at MediaWiki talk:Common.css, where he flatly refuses to implement several changes there's consensus for because he knows better. Alakzi (talk) 08:58, 29 August 2015 (UTC)
- Those paler colours are very monitor dependant. I've got two different monitors and on one, the AAA colours look ok and on the other the colours look very washed out. I would prefer having the AAA colours as an optional gadget. -- WOSlinker (talk) 08:42, 29 August 2015 (UTC)
- While I agree there's a need for more input on the matter, AAA is both perfectly feasible and a good idea for key navigational elements on such a large number of pages. Accessibility broadly construed is a core goal of the project and shouldn't be intentionally compromised on subjective aesthetic grounds without broader input. Incidentally, accessibility is a live issue in open-access academic publishing, where Wikipedia is increasingly seen as an important downstream user of OA-licensed content; while nobody there to my knowledge is checking out our navbox colors yet, it'd be a lot harder to argue for attention to the topic if we won't eat our own dogfood. Opabinia regalis (talk) 09:16, 29 August 2015 (UTC)
- You're wasting your time; logic doesn't work on these people. Alakzi (talk) 09:24, 29 August 2015 (UTC)
- If someone needs AAA compliance to be able to read the text on a website then they are probably going to have some browser plugin or other software already installed on their machine to adjust the colours anyway otherwise they wouldn't be able to read things on many websites. There are not that many websites which are fully AAA compliant. -- WOSlinker (talk) 11:46, 29 August 2015 (UTC)
- Well, sure; we're not claiming to aim for full compliance - that's why WP:COLOR says "when feasible" and not "always". The fact that we're having this discussion makes clear that it is feasible to use AAA colors in navboxes. It's probably true that people will object, but being realistic, most of the objections will look like these ;) Opabinia regalis (talk) 21:43, 29 August 2015 (UTC)
- That said, Opabinia, these templates have existed in their present form for years (more than my six years on-wiki); we can and probably should get more input, and there is no harm in waiting a few more days for others to chime in. There is no emergency here, and no one likes to get the bum's rush. And this is coming from someone who supports the change -- ultimately, AAA contrast compliance needs to be supported by the community as a whole, not a handful of technicians, which means these discussions need to educate editors who are not familiar with WP:ACCESSIBILITY issues such as color contrast. This is ultimately not just a technical problem, but an education/informational challenge, and the proponents need to accept that gentle education is part of the job description if they are going to work in this area. Dirtlawyer1 (talk) 13:38, 30 August 2015 (UTC)
- Well, sure; we're not claiming to aim for full compliance - that's why WP:COLOR says "when feasible" and not "always". The fact that we're having this discussion makes clear that it is feasible to use AAA colors in navboxes. It's probably true that people will object, but being realistic, most of the objections will look like these ;) Opabinia regalis (talk) 21:43, 29 August 2015 (UTC)
- If someone needs AAA compliance to be able to read the text on a website then they are probably going to have some browser plugin or other software already installed on their machine to adjust the colours anyway otherwise they wouldn't be able to read things on many websites. There are not that many websites which are fully AAA compliant. -- WOSlinker (talk) 11:46, 29 August 2015 (UTC)
- You're wasting your time; logic doesn't work on these people. Alakzi (talk) 09:24, 29 August 2015 (UTC)
I have started RfC below per the concerns about wider input expressed above. EvergreenFir (talk) Please {{re}} 17:56, 30 August 2015 (UTC)
RfC: Should the default colors for this template be changed to satisfy AAA level accessibility color contrasts WP:COLOR? If so, to which colors?
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
There has been an extended discussion regarding the default colors for {{Navbox}}. The crux of the issue whether or not the colors should be changed to satisfy AAA level color contrasts per WP:COLOR. Specifically, ensuring that the contrast ratio between the unvisited links font color ( ) and the background color is greater than or equal to 7:1. This RfC is being created as some expressed a desire for wider community input before implementing any changes to such a widely-used template.
The reason for meeting certain levels of contrast is to ensure accessibility for color-blind, low-vision, and vision-impaired users and readers. WP:COLOR says that, "Ensure the contrast of the text with its background reaches at least WCAG 2.0's AA level, and AAA level when feasible."
AA level is contrast greater than or equal to 4.5:1 which "compensate[s] for the loss in contrast sensitivity usually experienced by users with vision loss equivalent to approximately 20/40 vision"
and AAA level is contrast greater than or equal to 7:1 which "compensate[s] for the loss in contrast sensitivity usually experienced by users with vision loss equivalent to approximately 20/80 vision"
([3]).
Below are the current template colors and the colors proposed above. Other proposal are welcome and people responding to this RfC should feel free to offer alternatives. Current colors:
Proposed colors:
Thank you. EvergreenFir (talk) Please {{re}} 17:52, 30 August 2015 (UTC)
RfC opinions
- Support changing to proposed colors - This is a reasonably minor change in colors to a template to satisfy WP:COLOR. The change is more than
"feasible"
. I personally see no reason for contention here. EvergreenFir (talk) Please {{re}} 17:58, 30 August 2015 (UTC) - Support AAA-color-contrast compliance between (a) linked text and background colors, and (b) unlinked text and background colors for our default color scheme for Template:Navbox. Now let's argue about what that color scheme should be -- personally, I support a color scheme identical to that of the so-called "Vector" default skin for out left-side menu links and our top-sided tabs shown on every Wikipedia page. I note that this is very close what User:Alazki has proposed above. Dirtlawyer1 (talk) 18:04, 30 August 2015 (UTC)
- Support - and remember, WMF policy says we must not discriminate against people on the basis of their disability. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 18:06, 30 August 2015 (UTC)
- Support; this change clearly falls into the category of "feasible", and I see no reason to make the default style of such a widely used template an exception to WP:COLOR. This benefits those who need it, and harms nothing in the process. (And - not that it matters, but - I find the revised version more visually appealing.) Opabinia regalis (talk) 18:26, 30 August 2015 (UTC)
- Opposed, White isn't a color. Now get off your Macs and go out into the real world. — Dispenser 18:53, 30 August 2015 (UTC)
- Oppose as the proposal stands. The paler colours make it difficult for me to differentiate between the different areas of the navbox. The white cell borders no longer contrast with the cell colours. If there is a need for the paler cell colours for some readers to be able to see the text then fine but the white cell border needs making into a darker colour so that the different areas of the navbox can still be indentified. -- WOSlinker (talk) 20:18, 30 August 2015 (UTC)
- Oppose - The use of colors is severly limited if AAA becomes required, almost to black and white. As WOSlinker said, that also makes it impossible to use levels of color, besically because there is only one possible level left: almost-but-not-quite-white. There are alternatives, like changing the link color instead.
-- [[User:Edokter]] {{talk}}
20:22, 30 August 2015 (UTC)- Surely it would be much more complicated to change the link color for the entire site. It wouldn't make sense to use different link colors in navboxes vs. elsewhere. AAA certainly isn't limited to white; I don't claim the current colors defined by {{Taxobox colour}} are beautiful, but they are compliant and not white. Dirtlawyer pointed this out above, but there's nothing about this change that precludes custom navbox colors for specific uses.
- Using larger, bolded text in the navbox title bar is an option, though maybe a more startling change for editors. Opabinia regalis (talk) 20:58, 30 August 2015 (UTC)
- To illustrate this, I believe the centre box below is AAA-compliant due to the large, bold text in the title:
- -- Dr Greg talk 21:24, 30 August 2015 (UTC)
- @Dr Greg: The "VTE" and "hide" would not be compliant even if the title is bold. EvergreenFir (talk) Please {{re}} 00:42, 31 August 2015 (UTC)
- An implementation in which the contents are accessible, even if the interface elements that interact with the interface itself are not, is still an improvement over the status quo, though. Opabinia regalis (talk) 04:07, 31 August 2015 (UTC)
- 14 points is 120% the base font size. This is what WCAG defines as "large text": Title link or Title link. The font size of the navbox is 88% of the content text, which is 87.5% of the base font size; therefore, 120% in the title of the navbox equals 92.4% of the base font size. Alakzi (talk) 09:48, 31 August 2015 (UTC)
- OK, the large font idea turns out to be unfeasible, so here's another idea: render the text within the title bar (but not the bar itself) with the "abovestyle" background. It would look like this (imagine the "hide" is rendered the same way; I can't change that).
- 14 points is 120% the base font size. This is what WCAG defines as "large text": Title link or Title link. The font size of the navbox is 88% of the content text, which is 87.5% of the base font size; therefore, 120% in the title of the navbox equals 92.4% of the base font size. Alakzi (talk) 09:48, 31 August 2015 (UTC)
- An implementation in which the contents are accessible, even if the interface elements that interact with the interface itself are not, is still an improvement over the status quo, though. Opabinia regalis (talk) 04:07, 31 August 2015 (UTC)
- @Dr Greg: The "VTE" and "hide" would not be compliant even if the title is bold. EvergreenFir (talk) Please {{re}} 00:42, 31 August 2015 (UTC)
- -- Dr Greg talk 21:24, 30 August 2015 (UTC)
- Support. Wikipedia should make all feasible efforts to comply with generally accepted accessibility standards. Sandstein 16:56, 31 August 2015 (UTC)
- [Citation needed] Just because the standard exists doesn't mean it is "generally accepted". Someone above mentioned that there are actually very few websites that adhere to AAA.
-- [[User:Edokter]] {{talk}}
17:08, 31 August 2015 (UTC)
- [Citation needed] Just because the standard exists doesn't mean it is "generally accepted". Someone above mentioned that there are actually very few websites that adhere to AAA.
- What other websites do does not negate the guidelines in WP:COLOR. We set our own standards, now let's implement them. EvergreenFir (talk) Please {{re}} 17:12, 31 August 2015 (UTC)
- We have; "...at least AA" has been met.
-- [[User:Edokter]] {{talk}}
17:30, 31 August 2015 (UTC)
- We have; "...at least AA" has been met.
- What other websites do does not negate the guidelines in WP:COLOR. We set our own standards, now let's implement them. EvergreenFir (talk) Please {{re}} 17:12, 31 August 2015 (UTC)
- Oppose - The proposed box just looks all grey(ish) to me, The seperation between title & content doesn't seem obvious compared to the current box, I'm all for making WP easily readable but not when it makes life harder for everyone else. –Davey2010Talk 18:33, 31 August 2015 (UTC)
- Oppose per Davey2010 and others. There needs to be sufficient contrast between title, heading, and content backgrounds. Alternative colours proposed by Dr Greg look feasible for improving text/link-on-background contrast without making the backgrounds too hard to distinguish - Evad37 [talk] 05:16, 1 September 2015 (UTC)
- support any new scheme which improves the contrast. I am currently overriding the defaults with my personal common.css, and would be nice to not need to override the default to make things easier to read. Frietjes (talk) 15:09, 1 September 2015 (UTC)
- Oppose – While accessibility is important, it alone should not dictate and override other factors that contribute to the overall usefulness of our encyclopedia. This proposal simply removes color saturation. Black and white is not answer. Why? Because it fails to take in the needs of the vast majority of our readers whole do expect a visually appealing experience. The Web is exploding with color! Good design techniques allow for both aims to be met. By adopting this proposal, we take the easy way out. The Wikimedia Foundation has cash giveaway programs for anyone who asks. So let's ask them to hire some real web designers to give a us better solution than the one we see considering. Senator2029 “Talk” 10:33, 2 September 2015 (UTC)
- Support - The proposed template looks more readable and whiter. --Stranger195 (talk • contribs • guestbook) 13:09, 2 September 2015 (UTC)
- Oppose for insufficient contrast. Users with severe difficulties have the option to use custom style sheets. Accessibility does not mean making more difficult for normal readers. Stifle (talk) 06:44, 3 September 2015 (UTC)
- Support the concept but Oppose the suggested implementation. The implementations while increasing the text-to-background contrast (good) brings down the background-to-background contrast to nearly zero (bad). I doubt the standards on accessibility aim for that. I am no good at design, but maybe highlighting the rectangles with darker borders?... Using two colors?... that's more risky, but maybe. - Nabla (talk) 00:09, 9 September 2015 (UTC)
- Oppose The chosen colors for the change do not contrast well and they should. If this is proposed again then perhaps offer several options. Blue Rasberry (talk) 12:39, 9 September 2015 (UTC)
- Support - The new colors make links more readable. Kaldari (talk) 02:03, 10 September 2015 (UTC)
- Support using 2nd alternative proposal by Dr Greg, but with padding and border radius on title text:
- The original RfC proposal has too little contrast between header and subheaders. Jc86035 (talk • contribs) Use {{re|Jc86035}} to reply to me 06:50, 22 September 2015 (UTC)
- @Jc86035: I really liked this solution when I first saw it on a wide screen where the title text was on a single line, but it looks strange on a narrower window where "title" and "link" are on separate lines. Can you take a look at that case? I'm a CSS idiot. Opabinia regalis (talk) 01:58, 23 September 2015 (UTC)
- Oppose — As per Stifle. I have perfect color vision and I have a color-calibrated monitor and yet those hues used for the navbox sections are quite ghostly. Dr_Greg's alternative proposal (first version) is perhaps an acceptable compromise that balances the needs of the many with the needs of a few. Jason Quinn (talk) 19:45, 23 September 2015 (UTC)
- Oppose per Stifle and Davey2010. With this proposal we could just skip any background colours at all. De728631 (talk) 21:18, 23 September 2015 (UTC)
- Support. A sensible and logical proposal. — Cirt (talk) 05:57, 27 September 2015 (UTC)
RfC discussion
Just a note after reading past discussion, status quo is not a sufficient reason to reject these changes. Because because something has been this way for a long while does not mean it cannot be improved. Moreover, this improvement is more than feasible
to implement per WP:COLOR's guidelines. EvergreenFir (talk) Please {{re}} 17:55, 30 August 2015 (UTC)
- Actually, the threshold for this change is that consensus is required. Without it, no change can take place. Status quo does not equal consensus, so... well you can do the math.
-- [[User:Edokter]] {{talk}}
20:28, 30 August 2015 (UTC)
- I have placed a neutral notice regarding this RfC on WP:VP/T. It can be found here. EvergreenFir (talk) Please {{re}} 18:02, 30 August 2015 (UTC)
- Clarification of terms "AAA" refers to a measure of colour contrast that is part of WCAG (Web Content Accessibility Guidelines, version 2.0, published by the Web Accessibility Initiative of the World Wide Web Consortium, and adopted as the international standard for web accessibility by the International Standards Organization. WP:COLOUR (part of the Manual of Style says:
"Ensure the contrast of the text with its background reaches at least WCAG 2.0's AA level, and AAA level when feasible"
. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 18:10, 30 August 2015 (UTC) - Wikimedia Foundation policy: Our non discrimination policy is
"approved by the Wikimedia Foundation Board of Trustees to apply to all Wikimedia projects. It may not be circumvented, eroded, or ignored by local policies."
It says:"The Wikimedia Foundation prohibits discrimination against current or prospective users... on the basis of... disability"
. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 18:32, 30 August 2015 (UTC) - Comment My eyesight isn't so good (and I expect my laptop display isn't either) but in the proposed scheme apart from the "title bar" I can't effectively distinguish the backgrounds from the white window background. In other words I can only see the background of the title bar. So, if that's a problem, that's a problem. Thincat (talk) 21:07, 30 August 2015 (UTC)
- BTW, for AAA, best to economise on the green ink. Thincat (talk) 21:23, 30 August 2015 (UTC)
- Comment: Per WOSlinker's oppose, would it also be worthwhile to add some borders inside the navbox? Is anyone willing to make an example navbox with (fairly thin, but still noticeable) black borders around each line? — Bilorv(talk)(c)(e) 01:12, 31 August 2015 (UTC)
- Comment The proposed version may add to the readability of the text, but it decreases, at least for me, the perceived distinction between the headings. That's an accessibility isssue, though I do not know if its one of the formal criteria. The alternate proposal seems to do much better in this respect. DGG ( talk ) 04:28, 31 August 2015 (UTC)
- @DGG: Bilorv's idea of borders would be one option. Other color combos would be another. Any suggestions? EvergreenFir (talk) Please {{re}} 17:13, 31 August 2015 (UTC)
- Question: What's the contrast ratio on Dr. Greg's proposed version? – If it's close to AAA (and better than AA), I lean towards going with that as a solid compromise. --IJBall (contribs • talk) 03:29, 1 September 2015 (UTC)
When to place a navbox on a page
I swear that I've read this before, but can't seem to find the documentation. Is it a requirement that any item listed in a navbox should contain said navbox on its page. For example, Template:Creed links to Alter Bridge, so doesn't that mean that the Creed navbox should be placed on the Alter Bridge page? I recently implemented this, but it was reverted without reason and I want to make sure I was not out of line before I go back to it. It certainly makes sense to me that we should include the navbox on every page to which it links. That way if you are using the navbox to navigate, then the navbox is always available on any page you use it to get to. Thank you, — DLManiac (talk) 19:56, 19 November 2015 (UTC)
WP:BIDIRECTIONAL is what you're looking for. Consequently, there is a discussion on that guideline on the talk page of that guideline.
Since you were reverted, either start a discussion on the relevant talk page, or consider removing the link from the template. --Izno (talk) 21:38, 19 November 2015 (UTC)
- Thank you very much! — DLManiac (talk) 22:09, 19 November 2015 (UTC)
Implementing nowrap lists
Regarding this discussion from last year: an implementation for lists whose individual items were not wrapped over a line break was implemented in the sandbox, but never got ported to the actual module, and was erased from the sandbox. Is there any interest in resurrecting this feature and implementing it in the production module? isaacl (talk) 04:22, 23 November 2015 (UTC)
- as far as I can tell, the only quibble was over the parameter name. Frietjes (talk) 15:56, 23 November 2015 (UTC)
- note that this would allow the merger of Template:Team roster navbox. Frietjes (talk) 23:23, 23 November 2015 (UTC)