Wiki for a better world:Expandables

From the change wiki
(Redirected from Expandables)

Expandables are a feature of this wiki, to help describe complex ideas simply.

Usage & examples

This section has not been filled in yet.

Feature requests

Non-logged-in users can also make feature requests in the discussion page.

Accessibility

  • Better fallback for non-javascript browsers. Maybe the content could be shown as footnotes?
  • Compatibility with screen readers: When the text is being read, and an expandable is reached, there should be a beep and a short pause (perhaps 0.5 to 2.0 seconds long). During the pause, the listener could click/tap/press something to hear the expandable (else the screen reader automatically continues with the normal text flow). If the user missed the cue, they could use the screen reader's 'rewind' button.

Editability

  • Make it work with multi-line text content: Currently, having multiple lines in the wikitext will break functionality. You have to use crap like <br /> just to have multiple lines in a popup. Proper bullet lists don't work at all.
    • A solution would probably require implementing expandables as a MediaWiki extension instead of the current system of templates / spans / divs. (...)( If we're gonna do that, then while we're at it, may as implement the calculator into the same extension (along with any Calculator/feature requests that would need the calculator to be implemented as an extension). Perhaps the extension could be called "academic features". )

Other

  • Change the way popups interact with the mouse: Instead of making a popup disappear when clicking on it, make it disappear when clicking outside of it. This is a pretty standard behavior on other websites, and it would help make it easier to select text within the popup.
  • Have a third kind of expandable: A table where each cell can show a popup when clicked anywhere in the cell.

Author

Expandables were designed & coded by User:Elie, the founder of this wiki.