Template talk:Endorsements box
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
Modifying Template
[edit]I have tried to search for this template usage outside of Local / State / Federal elections, but I don't really see it anywhere else; therefore, I think it would be nice to modify this template to better suit these use cases.
- Add an attribute to declare the campaign status (Active, Suspended, etc...)
I have noticed that inside a good amount of these Boxes, there is usually text indicating if the campaign is suspended, but you have to "show" the content first. If the campaign is suspended, then the Box should be collapsed by default, but if it is active, then it should be shown by default (maybe). Also, this could change the color of the Box (i.e. grey for suspended). Lastly, it could automatically append text to the Title if the campaign is suspended it could show "XYZ (campaign suspended)" instead of just "XYZ"
If you look at this page, you can see how it is used, but it is hard to see who is still active and who is suspended. All that information is hidden in the Box, and it doesn't make sense to have to repeat information above the box. This one attribute, along with the needed programming, would be more robust than any other method.Ciscorucinski (talk) 18:52, 22 December 2015 (UTC)
Collapse
[edit]Would love it if this could collapse — they get so huge, really awful on mobile. DemonDays64 (talk) 15:15, 5 September 2020 (UTC)
- Yeah, can someone please add back the option for collapsability (but expanded by default per MOS)? I'm not sure how to add it since it no longer has table formatting. 2020–21 United States Senate election in Georgia, for example, is awful since these massive boxes just duplicate a bunch of the same names for the primary and general. Izno? Reywas92Talk 05:13, 6 January 2021 (UTC)
- MOS isn't "expanded by default", it's "don't do it". I see in the history this page has gone back and forth a few times on the point; if this is really necessary (rather than, y'know, not having endorsements pages, not having endorsements that will be essentially irrelevant after the cycle, or similar), then I think there should be a positive, RFC'd, community-wide, consensus on the matter. Columns on by default would probably help in a much more accessible way.
- Readding mw-collapsible is not particularly hard if you know the relevant place to look.
- The other thing that should be rethought if "it's repetitive" is to not repeat yourself. I don't really know the best way to do that in context.
- What I don't really understand is why DD64 had a complaint in September when this template has only been this way since December and the last time this went the other way was in November of 2019 --Izno (talk) 05:27, 6 January 2021 (UTC)
- The current page I suspect of interest, 2020–21 United States Senate special election in Georgia, would probably be fine were columns on by default. --Izno (talk) 05:35, 6 January 2021 (UTC)
- @Reywas92: It's an edit war on your part once you've decided you are not going to participate on the talk page. Please come along and have a chat. --Izno (talk) 23:34, 4 February 2021 (UTC)
- I did participate in the talk page, and you told me "Readding mw-collapsible is not particularly hard if you know the relevant place to look." I figured out the relevant place to look and readded it when you had no articulated objection. MOS:PRECOLLAPSE clearly states only that "elements such as tables can be made collapsible at the reader's option", so long as it is not hidden by default, so I see no reason why these boxes should not give readers that option. Reywas92Talk 01:15, 5 February 2021 (UTC)
- That's not how it goes. Once a discussion starts, you finish the discussion. If you believed I did not object strenuously in the form of my comment, then you should have said so. It should have been clear with "RFC" comment.
- Secondly, that is not the correct place.
- Thirdly, tables in context is largely a carveout for navboxes, not for arbitrary tables to be collapsible.
- Fourth, I provided at least one other compromise edit which you seem to have ignored (to wit, columns by default).
- Lastly, I remain skeptical of the value of endorsements.
- Regardless, if you do not want to budget on this, I will simply walk to WP:TFD and see if they would prefer to delete the template instead. If its only utility is because it can collapse the content, then it does not need to exist. Multiple other templates (particularly {{collapse}}) have been banned from the mainspace because of MOS:COLLAPSE, and where a general template has been banned, a specific template is going to fall in line as being removed from there as well. --Izno (talk) 03:01, 5 February 2021 (UTC)
- Fine. Please do that. I also question the value of endorsements lists, that's why they were collapsed by default for years and I want to be able to collapse them now. The previous default of being collapsed was the long-term position and likely the consensus until you changed it without notice so I doubt you'll find a consensus making it impossible to collapse them. I would certainly support having columns by default...in addition to being collapsible. Reywas92Talk 04:37, 5 February 2021 (UTC)
- I think I agree with Reywas that the old (collapse-by-default) approach was better. MOS:COLLAPSE is very out-of-date (nearly a decade old now) and I don't think the rationales given there apply anymore: every browser in common use (even random browsers from developing countries) has CSS functionality. Screen readers have improved. More importantly, I don't think anyone wants to hear a massive list of endorsements like this read out one-by-one, meaning MOS:COLLAPSE doesn't serve its intended purpose here (it makes articles less, rather than more, accessible to visually-impaired folks).
- I think we should invoke WP:IAR here, because the information contained in these endorsement boxes is particularly unimportant. I'm not sure they should generally even be included, but if they are, they should be collapsed by default, since the current practice of having Wikipedia election articles consist of massive lists of endorsements from Union Local #1234 makes them effectively unreadable.— Closed Limelike Curves (talk) 14:46, 15 August 2024 (UTC)
- Closed Limelike Curves, next time please (a) get consensus and (b) test your proposed changes in the sandbox and on the testcases page. – Jonesey95 (talk) 04:28, 3 October 2024 (UTC)
- I did participate in the talk page, and you told me "Readding mw-collapsible is not particularly hard if you know the relevant place to look." I figured out the relevant place to look and readded it when you had no articulated objection. MOS:PRECOLLAPSE clearly states only that "elements such as tables can be made collapsible at the reader's option", so long as it is not hidden by default, so I see no reason why these boxes should not give readers that option. Reywas92Talk 01:15, 5 February 2021 (UTC)
- To clarify, MoS has nothing against collapsible containers, as long as they are not auto-collapsed by default (an exception is made for navboxes because they are not integral to the article content). The reason for this is that the content when collapsed will be hidden from screen readers, anyone running without JavaScript, and various mobile browsers, generally without any way to un-collapse it. However, if you are not subject to one of those conditions, and you see and can use the collapse/uncollapse toggle, then it will work for you, both to collapse what you don't want to see, and to show it again after all. — SMcCandlish ☏ ¢ 😼 03:27, 22 February 2021 (UTC)
Accessibility
[edit]The accessibility of this template is in question. The specific issue is: screen readers can not read content that is collapsed by default. I'm not seeing any changes to the guidance at MOS:COLLAPSE, and I don't see any compelling reason to discriminate against our visually-impaired readers by default. Non visually-impaired readers are prioritized and given the choice to toggle between "show/hide", but visually-impaired readers like myself are just flat out denied of even getting the choice if they want to listen to them or not, when the default position is "collapsed". Isaidnoway (talk) 02:16, 3 October 2024 (UTC)
- The code inserted on 15 August 2024 was not working correctly, and its intent clearly violated MOS:COLLAPSE anyway. If people have a problem with MOS:COLLAPSE, go to MOS talk. If people think this template should be deleted, WP:TFD is the place. – Jonesey95 (talk) 04:27, 3 October 2024 (UTC)
- @Isaidnoway Wait, what screen reader are you using? I've never had issues with getting any screen reader I tested to read a box after I opened it (I've tested NVDA, Edge, Chrome, and Safari on iPhone). But it's a pain in the ass to try and navigate my way through and close it. It's also extremely frustrating to start playing an article, only to realize there's a long endorsement box forcing me to either press "skip" 500 times or find the "hide" button. – Closed Limelike Curves (talk) 21:24, 4 October 2024 (UTC)
- Right, after you opened it, not all visually impaired readers have the ability to physically see the [hide / show] button, that's why the default position should never be collapsed per MOS:COLLAPSE. And visually impaired readers are quite familiar with the idiosyncrasies that go along with navigating any web page, and sure, at times, it can be frustrating, especially on Wikipedia, where accessibility is a low priority. Isaidnoway (talk) 21:53, 4 October 2024 (UTC)
- I don't think accessibility is a low priority for Wikipedia. I just think accessibility is hard, because most people aren't disabled and don't have experience using accessibility tools. Often this is made worse by silly bureaucratic hangups. (I'm reminded of the time D.C. refused to implement level boarding on trams, where train platforms are placed at the same height as the train, removing the need for stairs. They claimed it would violate the ADA, because it would no longer be possible to build a ramp... even though there would no longer be a need for ramps.)
- not all visually impaired readers have the ability to physically see the [hide / show] button
- This is basically why collapse-by-default is inaccessible. If you can't find hide the [hide] button, showing endorsements makes the article basically unreadable. 99.99% of visually-impaired people don't want to hear a computer-generated voice list 500 different union locals who have endorsed a particular candidate, and this makes their Wikipedia experience substantially worse. – Closed Limelike Curves (talk) 00:42, 5 October 2024 (UTC)
- I don't think accessibility is a low priority for Wikipedia. I just think accessibility is hard, because most people aren't disabled and don't have experience using accessibility tools. Often this is made worse by silly bureaucratic hangups. (I'm reminded of the time D.C. refused to implement level boarding on trams, where train platforms are placed at the same height as the train, removing the need for stairs. They claimed it would violate the ADA, because it would no longer be possible to build a ramp... even though there would no longer be a need for ramps.)
- Right, after you opened it, not all visually impaired readers have the ability to physically see the [hide / show] button, that's why the default position should never be collapsed per MOS:COLLAPSE. And visually impaired readers are quite familiar with the idiosyncrasies that go along with navigating any web page, and sure, at times, it can be frustrating, especially on Wikipedia, where accessibility is a low priority. Isaidnoway (talk) 21:53, 4 October 2024 (UTC)