[dlang.org] [D-Programming-Language/dlang.org] 0c81db: Rework expandable code example boxes

GitHub via dlang.org dlang.org at puremagic.com
Tue Feb 16 10:52:35 PST 2016


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dlang.org
  Commit: 0c81db2c3ec0837ce4fe1b8bc428835a3fc2af0d
      https://github.com/D-Programming-Language/dlang.org/commit/0c81db2c3ec0837ce4fe1b8bc428835a3fc2af0d
  Author: sarneaud <sarneaud at users.noreply.github.com>
  Date:   2016-02-14 (Sun, 14 Feb 2016)

  Changed paths:
    M css/style.css
    M index.dd
    M js/run.js

  Log Message:
  -----------
  Rework expandable code example boxes

Accessibility improvements:
* controls now accessible by pressing tab
* WAI-ARIA attributes added
* still has graceful degradation without JavaScript

Other improvements:
* boxes now open with quick sliding animation
* (subjective) less work in the macro means easier maintainability by
  web developers new to D


  Commit: c086a3ccf9bf05b19d227bdc5bfc97bcad8ae999
      https://github.com/D-Programming-Language/dlang.org/commit/c086a3ccf9bf05b19d227bdc5bfc97bcad8ae999
  Author: Marc Schütz <schuetzm at gmx.net>
  Date:   2016-02-16 (Tue, 16 Feb 2016)

  Changed paths:
    M css/style.css
    M index.dd
    M js/run.js

  Log Message:
  -----------
  Merge pull request #1233 from sarneaud/examples

Rework expandable code example boxes


Compare: https://github.com/D-Programming-Language/dlang.org/compare/7ebbd86ec40a...c086a3ccf9bf


More information about the dlang.org mailing list