Skip to content

Instantly share code, notes, and snippets.

View waharnum's full-sized avatar

Alan Harnum waharnum

View GitHub Profile
@waharnum
waharnum / idrc-research-wednesday.md
Last active February 6, 2019 20:34
IDRC Research Wednesday - Links
@waharnum
waharnum / framework-accessibility.md
Last active June 16, 2018 01:10
Notes on assessing Javascript frameworks for accessibility

Originally written in an email, converted into a Gist for "posterity"

Notes on assessing Javascript frameworks for accessibility

A couple of articles and some general comments on heuristics…

“Notes on Client-Rendered Accessibility”: https://www.smashingmagazine.com/2015/05/client-rendered-accessibility/ - this is a good dive (from 2015) into the various issues that can happen with client-side Javascript frameworks like Knockout. A lot of it will be familiar to you from WCAG – frameworks don’t really introduce any new problems, they just give you many new ways to create them.

“CSS and Javascript accessibility best practices”: https://developer.mozilla.org/en-US/docs/Learn/Accessibility/CSS_and_JavaScript - another good overview of issues that can arise from Javascript. Again, nothing that will be unfamiliar, but may be a good resource to send to developers.

@waharnum
waharnum / comparison.md
Last active November 11, 2017 14:50
City Contribution to Operating Budgets (police vs. transit. vs. libraries)

2014 City Contribution to Operating Budgets (police vs. transit. vs. libraries)

From a blog post I never completed in 2014 that may be of interest, posting publicly because of this tweet: https://twitter.com/BaharakY/status/928714522646347776

Compiled from various sources around the internet - have tried to separate tax contributions from other sources of operating budget funding, probably imperfectly (don't feel certain about the Montreal ones in particular, due to lack of French fluency); not trying for accuracy here, just a cross-comparison. 2014 numbers. Rounded up to nearest million. In order of size of city.

City Police Budget Transit Budget Library Budget
Toronto $957,000,000 $433,000,000 $184,000,000
Montreal $587,000,000 $455,000,000 $83,000,000
@waharnum
waharnum / multilingual.md
Created November 1, 2017 18:20
Notes on Multilingual

Multilingual and Inclusive Design

  • Localization

    • Translation
    • Encoding, especially of non-Latin character sets
    • Text direction
  • Challenges and complexities

    • Mixing Languages
  • "dir" and "lang" are global attributes - they can be used on any markup

@waharnum
waharnum / ola-demo-items.md
Last active February 2, 2017 16:06
IDRC OLA Tour Demo Items
@waharnum
waharnum / requirements.yml
Created October 5, 2016 20:38
let's use as many different snippet services as possible!
- src: https://github.com/idi-ops/ansible-facts
name: facts
- src: git+https://github.com/gtirloni/ansible-role-nodejs.git
scm: git
name: nodejs
version: GPII-2060
@waharnum
waharnum / browserSyncSnippet.md
Last active November 3, 2016 20:15
Browser Sync snippets

browser-sync start --server --files "src/js/*, tests/html/*, tests/js/*, examples/pouchPersisted/index.html"

Infusion

browser-sync start --no-open --server --port 3002 --files "src/**, tests/**, examples/**, demos/**"

@waharnum
waharnum / tpl-inquiry.md
Last active March 24, 2016 12:04
An accessible version of the text of the screenshot in this Tweet: https://twitter.com/waharnum/status/712969619955429376

An accessible version of the text of the screenshot in this Tweet: https://twitter.com/waharnum/status/712969619955429376

Screenshot is of the results of the "Contact Us" form on Toronto Public Library's website and contains the following text:

I would like an explanation as to why the two recent Director positions (Policy, Planning and Performance Management & Digital Services and Emerging Technologies) are posted on external job sites such as https://partnershipjobs.ca/jobs?type_id=-1&org_name=toronto+public+library&keywords=&country_id=1039&province_id=&city= but not not on the library's own website at http://www.torontopubliclibrary.ca/about-the-library/library-jobs/

I do not consider it appropriate that the library not post executive-level positions it is recruiting for on its own web site; aside from the reasonable expectation that job seekers should be able to consult the library's own site for all currently available positions, it obscures information that members of the public have a right to

@waharnum
waharnum / electric-piano-synth
Last active November 12, 2015 22:10 — forked from colinbdclark/electric-piano-synth
Early sketch of electric piano synth for FLOE Chart Authoring sonification tool
fluid.defaults("floe.chartAuthoring.electricPianoBand", {
gradeNames: ["flock.band"],
components: {
midiNoteSynth: {
type: "floe.chartAuthoring.midiNoteSynth"
},
pianoEnvelopeSynth: {
type: "floe.chartAuthoring.pianoEnvelopeSynth"
@waharnum
waharnum / gist:93e8c93942797d8582a4
Created September 30, 2014 16:46
Library conference sites
Internet Librarian / http://internet-librarian.infotoday.com/PastShows.aspx