p5.accessibility icon indicating copy to clipboard operation
p5.accessibility copied to clipboard

Reference for Basic Shapes: reverse order of description and example

Open git-ebetts opened this issue 6 years ago • 1 comments

Nature of issue?

  • [ ] Found a bug
  • [ x] Existing feature enhancement
  • [ ] New feature request

Details about the bug:

  • Web browser and version:
  • Operating System:
  • Steps to reproduce this:

Feature enhancement details:

It would help users accessing p5.js through a screen reader to hear a description of the relevant basic shape before the related code example for rendering the shape in p5.js. I propose reversing the present order of sections in the basic shapes reference pages so that the description of the shape precedes the code example.

git-ebetts avatar Jul 11 '18 20:07 git-ebetts

@MathuraMG @lm-n In an effort to update a forked version of the p5.js 'reference" code (I had been working on a desktop clone of p5,js) I'm having difficulty locating the p5.js "item.html" template file I had amended in my desktop version. Has something changed about the way templates are implemented in p5.js? Previously I located this template in docs/yuidoc-p5-theme-src/tpl/item.html. Although I now see references to "text!tpl/item.html" in some of the scripts, the tpl folder is no longer among the files in the p5.js repository. Any insight on this change?

git-ebetts avatar Jul 26 '18 21:07 git-ebetts