Skip to content

Commit b53b043

Browse files
committed
Added info about parameters for each function
1 parent e2046b1 commit b53b043

File tree

6 files changed

+66
-24
lines changed

6 files changed

+66
-24
lines changed

src/data/en.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,15 +373,22 @@ learn:
373373
For more further information about p5.js screen reader accessibility, please read
374374
labeling-canvases-available-labels: Screen reader labels for p5.js
375375
labeling-canvases-available-labels-1: p5.js offers four different functions for labeling your canvas
376-
labeling-canvases-available-labels-li-1: <a class = "code" href="https://p5js.org/reference/#/p5/describe">describe()</a> provides an overall description of the canvas contents.
377-
labeling-canvases-available-labels-li-2: <a class = "code" href="https://p5js.org/reference/#/p5/describeElement">describeElement()</a> describes a specific element or a specific grouping of elements in a canvas.
376+
labeling-canvases-available-labels-li-1: >-
377+
<a class = "code" href="https://p5js.org/reference/#/p5/describe">describe()</a> provides an overall description of the canvas contents. This function's parameters include: <span class= "code">text</span>,
378+
which affords a string of text for the label; and <span class = "code">display</span>, an optional parameter to set the visibility of the label.
379+
labeling-canvases-available-labels-li-2: >-
380+
<a class = "code" href="https://p5js.org/reference/#/p5/describeElement">describeElement()</a> describes a specific element or a specific grouping of elements in a canvas.
381+
This function's parameters include: <span class = "code">name</span>, which affords a string naming the element described; <span class = "code">text</span>, which affords a string of text as the label description;
382+
and <span class="code">display</span>, an optional parameter to set the visibility of the label.
378383
labeling-canvases-available-labels-li-3: >-
379384
<a class = "code" href="https://p5js.org/reference/#/p5/textOutput">textOutput()</a> generates a list providing a canvas description and its (visual) elements, including the canvas' size,
380-
canvas color, as well as each visual element’s color, position, and the amount of area the element covers within the canvas.
385+
canvas color, as well as each visual element’s color, position, and the amount of area the element covers within the canvas. This function's only parameter is <span class = "code">display</span>, which is an optional
386+
parameter to set the visibility of the label.
381387
labeling-canvases-available-labels-li-4: >-
382388
<a class = "code" href="https://p5js.org/reference/#/p5/gridOutput">gridOutput()</a>, like <a class = "code" href="https://p5js.org/reference/#/p5/textOutput">textOutput()</a>, generates a list of the canvas and its (visual) elements, only this function
383389
arranges its output in a HTML table that plots the spatial location of each shape within the canvas. It also provides a basic
384-
description of the canvas, including the canvas' size, canvas color, the number of visual elements, and the different visual element types inside the canvas.
390+
description of the canvas, including the canvas' size, canvas color, the number of visual elements, and the different visual element types inside the canvas. This function's only parameter is <span class = "code">display</span>, which is an optional
391+
parameter to set the visibility of the label.
385392
labeling-canvases-best-practices: Labeling best practices
386393
labeling-canvases-best-practices-what-requires-labeling: What requires labeling?
387394
labeling-canvases-best-practices-what-requires-labeling-1: >-

src/data/es.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -385,15 +385,22 @@ learn:
385385
For more further information about p5.js screen reader accessibility, please read
386386
labeling-canvases-available-labels: Screen reader labels for p5.js
387387
labeling-canvases-available-labels-1: p5.js offers four different functions for labeling your canvas
388-
labeling-canvases-available-labels-li-1: <a class = "code" href="https://p5js.org/reference/#/p5/describe">describe()</a> provides an overall description of the canvas contents.
389-
labeling-canvases-available-labels-li-2: <a class = "code" href="https://p5js.org/reference/#/p5/describeElement">describeElement()</a> describes a specific element or a specific grouping of elements in a canvas.
388+
labeling-canvases-available-labels-li-1: >-
389+
<a class = "code" href="https://p5js.org/reference/#/p5/describe">describe()</a> provides an overall description of the canvas contents. This function's parameters include: <span class= "code">text</span>,
390+
which affords a string of text for the label; and <span class = "code">display</span>, an optional parameter to set the visibility of the label.
391+
labeling-canvases-available-labels-li-2: >-
392+
<a class = "code" href="https://p5js.org/reference/#/p5/describeElement">describeElement()</a> describes a specific element or a specific grouping of elements in a canvas.
393+
This function's parameters include: <span class = "code">name</span>, which affords a string naming the element described; <span class = "code">text</span>, which affords a string of text as the label description;
394+
and <span class="code">display</span>, an optional parameter to set the visibility of the label.
390395
labeling-canvases-available-labels-li-3: >-
391396
<a class = "code" href="https://p5js.org/reference/#/p5/textOutput">textOutput()</a> generates a list providing a canvas description and its (visual) elements, including the canvas' size,
392-
canvas color, as well as each visual element’s color, position, and the amount of area the element covers within the canvas.
397+
canvas color, as well as each visual element’s color, position, and the amount of area the element covers within the canvas. This function's only parameter is <span class = "code">display</span>, which is an optional
398+
parameter to set the visibility of the label.
393399
labeling-canvases-available-labels-li-4: >-
394400
<a class = "code" href="https://p5js.org/reference/#/p5/gridOutput">gridOutput()</a>, like <a class = "code" href="https://p5js.org/reference/#/p5/textOutput">textOutput()</a>, generates a list of the canvas and its (visual) elements, only this function
395401
arranges its output in a HTML table that plots the spatial location of each shape within the canvas. It also provides a basic
396-
description of the canvas, including the canvas' size, canvas color, the number of visual elements, and the different visual element types inside the canvas.
402+
description of the canvas, including the canvas' size, canvas color, the number of visual elements, and the different visual element types inside the canvas. This function's only parameter is <span class = "code">display</span>, which is an optional
403+
parameter to set the visibility of the label.
397404
labeling-canvases-best-practices: Labeling best practices
398405
labeling-canvases-best-practices-what-requires-labeling: What requires labeling?
399406
labeling-canvases-best-practices-what-requires-labeling-1: >-

src/data/hi.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,15 +373,22 @@ learn:
373373
For more further information about p5.js screen reader accessibility, please read
374374
labeling-canvases-available-labels: Screen reader labels for p5.js
375375
labeling-canvases-available-labels-1: p5.js offers four different functions for labeling your canvas
376-
labeling-canvases-available-labels-li-1: <a class = "code" href="https://p5js.org/reference/#/p5/describe">describe()</a> provides an overall description of the canvas contents.
377-
labeling-canvases-available-labels-li-2: <a class = "code" href="https://p5js.org/reference/#/p5/describeElement">describeElement()</a> describes a specific element or a specific grouping of elements in a canvas.
376+
labeling-canvases-available-labels-li-1: >-
377+
<a class = "code" href="https://p5js.org/reference/#/p5/describe">describe()</a> provides an overall description of the canvas contents. This function's parameters include: <span class= "code">text</span>,
378+
which affords a string of text for the label; and <span class = "code">display</span>, an optional parameter to set the visibility of the label.
379+
labeling-canvases-available-labels-li-2: >-
380+
<a class = "code" href="https://p5js.org/reference/#/p5/describeElement">describeElement()</a> describes a specific element or a specific grouping of elements in a canvas.
381+
This function's parameters include: <span class = "code">name</span>, which affords a string naming the element described; <span class = "code">text</span>, which affords a string of text as the label description;
382+
and <span class="code">display</span>, an optional parameter to set the visibility of the label.
378383
labeling-canvases-available-labels-li-3: >-
379384
<a class = "code" href="https://p5js.org/reference/#/p5/textOutput">textOutput()</a> generates a list providing a canvas description and its (visual) elements, including the canvas' size,
380-
canvas color, as well as each visual element’s color, position, and the amount of area the element covers within the canvas.
385+
canvas color, as well as each visual element’s color, position, and the amount of area the element covers within the canvas. This function's only parameter is <span class = "code">display</span>, which is an optional
386+
parameter to set the visibility of the label.
381387
labeling-canvases-available-labels-li-4: >-
382388
<a class = "code" href="https://p5js.org/reference/#/p5/gridOutput">gridOutput()</a>, like <a class = "code" href="https://p5js.org/reference/#/p5/textOutput">textOutput()</a>, generates a list of the canvas and its (visual) elements, only this function
383389
arranges its output in a HTML table that plots the spatial location of each shape within the canvas. It also provides a basic
384-
description of the canvas, including the canvas' size, canvas color, the number of visual elements, and the different visual element types inside the canvas.
390+
description of the canvas, including the canvas' size, canvas color, the number of visual elements, and the different visual element types inside the canvas. This function's only parameter is <span class = "code">display</span>, which is an optional
391+
parameter to set the visibility of the label.
385392
labeling-canvases-best-practices: Labeling best practices
386393
labeling-canvases-best-practices-what-requires-labeling: What requires labeling?
387394
labeling-canvases-best-practices-what-requires-labeling-1: >-

src/data/it.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -385,15 +385,22 @@ learn:
385385
For more further information about p5.js screen reader accessibility, please read
386386
labeling-canvases-available-labels: Screen reader labels for p5.js
387387
labeling-canvases-available-labels-1: p5.js offers four different functions for labeling your canvas
388-
labeling-canvases-available-labels-li-1: <a class = "code" href="https://p5js.org/reference/#/p5/describe">describe()</a> provides an overall description of the canvas contents.
389-
labeling-canvases-available-labels-li-2: <a class = "code" href="https://p5js.org/reference/#/p5/describeElement">describeElement()</a> describes a specific element or a specific grouping of elements in a canvas.
388+
labeling-canvases-available-labels-li-1: >-
389+
<a class = "code" href="https://p5js.org/reference/#/p5/describe">describe()</a> provides an overall description of the canvas contents. This function's parameters include: <span class= "code">text</span>,
390+
which affords a string of text for the label; and <span class = "code">display</span>, an optional parameter to set the visibility of the label.
391+
labeling-canvases-available-labels-li-2: >-
392+
<a class = "code" href="https://p5js.org/reference/#/p5/describeElement">describeElement()</a> describes a specific element or a specific grouping of elements in a canvas.
393+
This function's parameters include: <span class = "code">name</span>, which affords a string naming the element described; <span class = "code">text</span>, which affords a string of text as the label description;
394+
and <span class="code">display</span>, an optional parameter to set the visibility of the label.
390395
labeling-canvases-available-labels-li-3: >-
391396
<a class = "code" href="https://p5js.org/reference/#/p5/textOutput">textOutput()</a> generates a list providing a canvas description and its (visual) elements, including the canvas' size,
392-
canvas color, as well as each visual element’s color, position, and the amount of area the element covers within the canvas.
397+
canvas color, as well as each visual element’s color, position, and the amount of area the element covers within the canvas. This function's only parameter is <span class = "code">display</span>, which is an optional
398+
parameter to set the visibility of the label.
393399
labeling-canvases-available-labels-li-4: >-
394400
<a class = "code" href="https://p5js.org/reference/#/p5/gridOutput">gridOutput()</a>, like <a class = "code" href="https://p5js.org/reference/#/p5/textOutput">textOutput()</a>, generates a list of the canvas and its (visual) elements, only this function
395401
arranges its output in a HTML table that plots the spatial location of each shape within the canvas. It also provides a basic
396-
description of the canvas, including the canvas' size, canvas color, the number of visual elements, and the different visual element types inside the canvas.
402+
description of the canvas, including the canvas' size, canvas color, the number of visual elements, and the different visual element types inside the canvas. This function's only parameter is <span class = "code">display</span>, which is an optional
403+
parameter to set the visibility of the label.
397404
labeling-canvases-best-practices: Labeling best practices
398405
labeling-canvases-best-practices-what-requires-labeling: What requires labeling?
399406
labeling-canvases-best-practices-what-requires-labeling-1: >-

src/data/ko.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -317,15 +317,22 @@ learn:
317317
For more further information about p5.js screen reader accessibility, please read
318318
labeling-canvases-available-labels: Screen reader labels for p5.js
319319
labeling-canvases-available-labels-1: p5.js offers four different functions for labeling your canvas
320-
labeling-canvases-available-labels-li-1: <a class = "code" href="https://p5js.org/reference/#/p5/describe">describe()</a> provides an overall description of the canvas contents.
321-
labeling-canvases-available-labels-li-2: <a class = "code" href="https://p5js.org/reference/#/p5/describeElement">describeElement()</a> describes a specific element or a specific grouping of elements in a canvas.
320+
labeling-canvases-available-labels-li-1: >-
321+
<a class = "code" href="https://p5js.org/reference/#/p5/describe">describe()</a> provides an overall description of the canvas contents. This function's parameters include: <span class= "code">text</span>,
322+
which affords a string of text for the label; and <span class = "code">display</span>, an optional parameter to set the visibility of the label.
323+
labeling-canvases-available-labels-li-2: >-
324+
<a class = "code" href="https://p5js.org/reference/#/p5/describeElement">describeElement()</a> describes a specific element or a specific grouping of elements in a canvas.
325+
This function's parameters include: <span class = "code">name</span>, which affords a string naming the element described; <span class = "code">text</span>, which affords a string of text as the label description;
326+
and <span class="code">display</span>, an optional parameter to set the visibility of the label.
322327
labeling-canvases-available-labels-li-3: >-
323328
<a class = "code" href="https://p5js.org/reference/#/p5/textOutput">textOutput()</a> generates a list providing a canvas description and its (visual) elements, including the canvas' size,
324-
canvas color, as well as each visual element’s color, position, and the amount of area the element covers within the canvas.
329+
canvas color, as well as each visual element’s color, position, and the amount of area the element covers within the canvas. This function's only parameter is <span class = "code">display</span>, which is an optional
330+
parameter to set the visibility of the label.
325331
labeling-canvases-available-labels-li-4: >-
326332
<a class = "code" href="https://p5js.org/reference/#/p5/gridOutput">gridOutput()</a>, like <a class = "code" href="https://p5js.org/reference/#/p5/textOutput">textOutput()</a>, generates a list of the canvas and its (visual) elements, only this function
327333
arranges its output in a HTML table that plots the spatial location of each shape within the canvas. It also provides a basic
328-
description of the canvas, including the canvas' size, canvas color, the number of visual elements, and the different visual element types inside the canvas.
334+
description of the canvas, including the canvas' size, canvas color, the number of visual elements, and the different visual element types inside the canvas. This function's only parameter is <span class = "code">display</span>, which is an optional
335+
parameter to set the visibility of the label.
329336
labeling-canvases-best-practices: Labeling best practices
330337
labeling-canvases-best-practices-what-requires-labeling: What requires labeling?
331338
labeling-canvases-best-practices-what-requires-labeling-1: >-

src/data/zh-Hans.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,15 +299,22 @@ learn:
299299
For more further information about p5.js screen reader accessibility, please read
300300
labeling-canvases-available-labels: Screen reader labels for p5.js
301301
labeling-canvases-available-labels-1: p5.js offers four different functions for labeling your canvas
302-
labeling-canvases-available-labels-li-1: <a class = "code" href="https://p5js.org/reference/#/p5/describe">describe()</a> provides an overall description of the canvas contents.
303-
labeling-canvases-available-labels-li-2: <a class = "code" href="https://p5js.org/reference/#/p5/describeElement">describeElement()</a> describes a specific element or a specific grouping of elements in a canvas.
302+
labeling-canvases-available-labels-li-1: >-
303+
<a class = "code" href="https://p5js.org/reference/#/p5/describe">describe()</a> provides an overall description of the canvas contents. This function's parameters include: <span class= "code">text</span>,
304+
which affords a string of text for the label; and <span class = "code">display</span>, an optional parameter to set the visibility of the label.
305+
labeling-canvases-available-labels-li-2: >-
306+
<a class = "code" href="https://p5js.org/reference/#/p5/describeElement">describeElement()</a> describes a specific element or a specific grouping of elements in a canvas.
307+
This function's parameters include: <span class = "code">name</span>, which affords a string naming the element described; <span class = "code">text</span>, which affords a string of text as the label description;
308+
and <span class="code">display</span>, an optional parameter to set the visibility of the label.
304309
labeling-canvases-available-labels-li-3: >-
305310
<a class = "code" href="https://p5js.org/reference/#/p5/textOutput">textOutput()</a> generates a list providing a canvas description and its (visual) elements, including the canvas' size,
306-
canvas color, as well as each visual element’s color, position, and the amount of area the element covers within the canvas.
311+
canvas color, as well as each visual element’s color, position, and the amount of area the element covers within the canvas. This function's only parameter is <span class = "code">display</span>, which is an optional
312+
parameter to set the visibility of the label.
307313
labeling-canvases-available-labels-li-4: >-
308314
<a class = "code" href="https://p5js.org/reference/#/p5/gridOutput">gridOutput()</a>, like <a class = "code" href="https://p5js.org/reference/#/p5/textOutput">textOutput()</a>, generates a list of the canvas and its (visual) elements, only this function
309315
arranges its output in a HTML table that plots the spatial location of each shape within the canvas. It also provides a basic
310-
description of the canvas, including the canvas' size, canvas color, the number of visual elements, and the different visual element types inside the canvas.
316+
description of the canvas, including the canvas' size, canvas color, the number of visual elements, and the different visual element types inside the canvas. This function's only parameter is <span class = "code">display</span>, which is an optional
317+
parameter to set the visibility of the label.
311318
labeling-canvases-best-practices: Labeling best practices
312319
labeling-canvases-best-practices-what-requires-labeling: What requires labeling?
313320
labeling-canvases-best-practices-what-requires-labeling-1: >-

0 commit comments

Comments
 (0)