88import p5 from '../core/main' ;
99
1010/**
11- * Creates a screen reader-accessible description for shapes on the canvas.
12- * `textOutput()` adds a general description, list of shapes, and
13- * table of shapes to the web page.
11+ * Creates a screen reader-accessible description of shapes on the canvas.
1412 *
15- * The general description includes the canvas size, canvas color, and number
16- * of shapes. For example,
13+ * `textOutput()` adds a general description, list of shapes, and
14+ * table of shapes to the web page. The general description includes the
15+ * canvas size, canvas color, and number of shapes. For example,
1716 * `Your output is a, 100 by 100 pixels, gray canvas containing the following 2 shapes:`.
1817 *
1918 * A list of shapes follows the general description. The list describes the
@@ -35,8 +34,8 @@ import p5 from '../core/main';
3534 * mode.
3635 *
3736 * Read
38- * <a href="/learn/labeling-canvases .html">How to label your p5.js code </a> to
39- * learn more about making sketches accessible.
37+ * <a href="/learn/accessible-labels .html">Writing accessible canvas descriptions </a>
38+ * to learn more about making sketches accessible.
4039 *
4140 * @method textOutput
4241 * @param {Constant } [display] either FALLBACK or LABEL.
@@ -143,12 +142,11 @@ p5.prototype.textOutput = function(display) {
143142} ;
144143
145144/**
146- * Creates a screen reader-accessible description for shapes on the canvas.
147- * `gridOutput()` adds a general description, table of shapes, and list of
148- * shapes to the web page.
145+ * Creates a screen reader-accessible description of shapes on the canvas.
149146 *
150- * The general description includes the canvas size, canvas color, and number of
151- * shapes. For example,
147+ * `gridOutput()` adds a general description, table of shapes, and list of
148+ * shapes to the web page. The general description includes the canvas size,
149+ * canvas color, and number of shapes. For example,
152150 * `gray canvas, 100 by 100 pixels, contains 2 shapes: 1 circle 1 square`.
153151 *
154152 * `gridOutput()` uses its table of shapes as a grid. Each shape in the grid
@@ -171,8 +169,8 @@ p5.prototype.textOutput = function(display) {
171169 * mode.
172170 *
173171 * Read
174- * <a href="/learn/labeling-canvases .html">How to label your p5.js code </a> to
175- * learn more about making sketches accessible.
172+ * <a href="/learn/accessible-labels .html">Writing accessible canvas descriptions </a>
173+ * to learn more about making sketches accessible.
176174 *
177175 * @method gridOutput
178176 * @param {Constant } [display] either FALLBACK or LABEL.
0 commit comments